Login Card
Overview
A login form card for authentication pages and SaaS apps.
This auth component is intended for interfaces that need a login form card for authentication pages and SaaS apps, application interfaces, and documentation examples. Its implementation is provided as editable source so the final behavior and styling stay inside your project.
Technologies
Detected package dependencies: lucide-react, next-themes, framer-motion.
Installation
Usage
The live preview and its Code tab above are the working example for this component. Copy the example after installation, then provide the required values from its TypeScript signature.
Props
| Prop | Type | Required | Description |
|---|---|---|---|
| — | No shared Props type | — | The installable source does not expose one shared custom prop contract. Review the exported TypeScript signatures for the individual variants shown on this page. |
Use cases
- interfaces that need a login form card for authentication pages and SaaS apps
- application interfaces
- documentation examples
Features
- Copy-paste source that remains in your repository
- TypeScript source included with the component
- Tailwind CSS classes editable in the component source
- Animation implemented with Motion
Accessibility
- No reduced-motion marker was detected; add or verify a reduced-motion path before production use.
- Test focus order, keyboard operation, labels, contrast, and screen-reader output in the final application context.
Customization
- Edit the Tailwind utility classes in the copied source to match your spacing, color, and typography tokens.
- Edit the copied source directly for visual or structural changes.
- Adjust Motion transitions in the source and keep the reduced-motion behavior aligned with the final interaction.
Related components
Topic guides
See how this component fits into broader interface patterns, implementation decisions, and working examples.
Login Card FAQ
Is Login Card free to use in commercial projects?
Yes. The public Login Card source is available under the Apache License 2.0, including for commercial use, subject to the LICENSE terms.
How do I install Login Card?
Run npx shadcn@latest add @spectrumui/login-card. The page also exposes the source for manual installation.
Does Login Card require Motion?
Yes. Motion usage was detected in the documented source or registry dependencies for Login Card.
Does Login Card use shadcn/ui or Radix UI?
No shadcn/ui or Radix UI dependency was detected in the documented Login Card source.
Can I use Login Card in Next.js?
The documented React source is used in this Next.js application. Keep its use client directive when copying it into the App Router. Install the detected dependencies and verify any application-specific data or image configuration.
What accessibility checks should I run for Login Card?
No component-specific accessibility mechanism was detected automatically. Test keyboard operation, focus, labels, contrast, and screen-reader output before shipping.