BETTER-AUTH. UI
Components

<SignIn />

A complete sign-in form component with email/password, magic link, and social provider support.

Usage

Sign In
OR
Forgot password?

Need to create an account? Sign Up

import { SignIn } from "@/components/auth/sign-in"

export function SignInDemo() {
  return <SignIn />
}

The password starts masked. Its localized show/hide button changes only the field presentation, so the submitted password value stays unchanged.

Installation

npx shadcn@latest registry add @better-auth-ui=https://better-auth-ui.com/r/{style}/{name}.json
npx shadcn@latest add @better-auth-ui/sign-in

Props

Prop

Type

Last updated on

On this page