Auth Form Modern
A modern authentication form with clean shadcn-ui styling and Google integration.
Configuring your account...
Please wait while we prepare everything for you
Usage
import AuthFormModern from '@/components/bynanaui/auth-form-modern'
<AuthFormModern
onSubmit={handleSubmit}
onSocialAuth={handleSocialAuth}
onSignUp={handleSignUp}
onForgotPassword={handleForgotPassword}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| onSubmit | function | - | Callback when form is submitted |
| onSocialAuth | function | - | Callback for social authentication |
| onSignUp | function | - | Callback when sign up is clicked |
| onForgotPassword | function | - | Callback when forgot password is clicked |
| className | string | - | Additional CSS classes |
Features
- Modern shadcn-ui inspired design
- Clean card-based layout
- Email and password validation
- Google OAuth integration
- Forgot password functionality
- Responsive design
- Light/dark theme support