SignIn Component
The `<SignIn />` component renders a complete sign-in flow matching your brand's theme.
Basic Usage
import { SignIn } from '@authsetu/react';
export default function SignInPage() {
return (
<div className="flex justify-center items-center min-h-screen">
<SignIn redirectUrl="/dashboard" />
</div>
);
}
Props Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| `redirectUrl` | `string` | `"/"` | URL to redirect users to after successful authentication. |
| `signUpUrl` | `string` | `"/sign-up"` | URL pointing to your registration page. |
| `appearance` | `AppearanceOptions` | `undefined` | Custom styling overrides and theme tokens. |