Installation
Dependencies
This component requires the following shadcn/ui components:- button
- input
- label
- separator
Usage
Features
- Email and password input fields
- Full form with proper autocomplete attributes
- Primary sign-in button
- Horizontal separator with “or with” text
- Google OAuth integration button
- Terms of service and privacy policy agreement
- Responsive centered layout
- Dark mode support with explicit theme classes
- Accessible form structure
Component Structure
The form layout includes:- Two-field form with vertical spacing
- Email input with proper type and autocomplete
- Password input with masked characters
- Full-width submit button
- Visual divider for alternative methods
- Social login option with icon
- Legal disclaimer text
Form Fields
Email Field
- Type: email
- Autocomplete: email
- Placeholder: [email protected]
Password Field
- Type: password
- Autocomplete: password
- Placeholder: **************
Customization
Customize the component by:- Adding password visibility toggle
- Implementing forgot password link
- Adding additional OAuth providers
- Customizing validation messages
- Modifying spacing and layout
- Integrating with authentication services