Login
A production-ready authentication card built with the EasyUI form system, featuring password show/hide, remember me, validation states, and social logins.
Welcome back
Sign in to access your EasyUI workspace
Or continue with
Installation
Add the component directly to your repository using shadcn CLI:
npx shadcn@latest add Surajmaurya1/easyui/login
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | 'Welcome back' | Primary card title text |
| description | string | 'Sign in to access your EasyUI workspace' | Subtitle description below the title |
| logo | React.ReactNode | <SparklesIcon /> | Brand badge or logo displayed at the top |
| error | string | null | null | Server-side or authentication error banner message |
| isLoading | boolean | false | Submitting state displaying loader on submit button |
| onSubmit | (data: LoginFormData) => void | undefined | Form submission callback with email, password, rememberMe |
| onForgotPassword | () => void | undefined | Callback when forgot password link is clicked |
| onSignUpClick | () => void | undefined | Callback for secondary sign up switch action |
| showSocialLogins | boolean | true | Toggles GitHub and Google SSO buttons |
| onSocialLogin | (provider: 'github' | 'google' | 'apple') => void | undefined | Callback when social login button is pressed |