Skip to main content

Overview

The Vouch Remix SDK provides seamless integration with Remix’s action/loader pattern for both client and server-side email validation.
Package: @vouch-in/remix Remix Version: 1.0+ TypeScript: Full type definitions included

Installation

Server-Side Validation

Action Handler

Client Component

Client-Side Validation

For client-side validation with device fingerprinting:

Hybrid Validation

Combine client-side fingerprinting with server-side validation:

Environment Variables

Set up environment variables in your Remix app:
Expose client-side variables via loader:

API Types

The message field contains a human-friendly error message when the recommendation is flag or block (e.g. “Please use a permanent email address, not a temporary one.”). It is null when the recommendation is allow.

Next Steps

Node.js SDK

Server-side SDK

React SDK

React hooks