Login Form
A dark-themed login component with email/password, Google OAuth, show/hide password, and a loading state.
Welcome back
Sign in to your account to continue
or continue with email
Don't have an account?
Installation
bash
npx shadcn@latest add "https://dexterityui.vercel.app/r/login.json"Props
| Prop | Type | Description |
|---|---|---|
| onSubmit | (values) => void | Called with { email, password } on form submit. |
| onGoogleSignIn | () => void | Called when the Google button is clicked. |
| onForgotPassword | () => void | Called when 'Forgot password?' is clicked. |
| onSignUp | () => void | Called when the 'Sign up' link is clicked. |
| className | string | Additional classes for the root container. |