Installation
Dependencies
This component requires the following shadcn/ui components:- button
- input
- label
- separator
Usage
Features
- Email input field with validation attributes
- Primary action button for email sign-in
- Horizontal separator with “or with” text
- Google OAuth button with custom icon
- Terms of service and privacy policy links
- Fully responsive layout
- Centered container design
- Accessible form elements with proper labels
Component Structure
The component uses a centered flexbox layout with:- Form container with max-width constraint
- Email input with autocomplete
- Submit button spanning full width
- Visual separator for alternative sign-in methods
- Social login button styled as outline variant
- Footer text with legal links
Customization
You can customize the component by:- Modifying form action handlers
- Adding additional social login providers
- Adjusting spacing and typography
- Customizing button styles and colors
- Adding form validation logic