Login Form
Login Form: Production login form with email/password validation, remember me, show password, loading state, and forgot-password link. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Login Form
npx motion-ui-skill add login-formComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactnextreacttailwind-merge
Source files
Login Form
Production login form with email/password validation, remember me, show password, loading state, and forgot-password link.
Install
npx motion-ui-skill add login-form
Dependencies
clsxlucide-reactnextreacttailwind-merge
Usage
"use client";
import { LoginForm } from "@/components/forms/login-form";
export function LoginFormDemo() {
return (
<div className="flex items-center justify-center p-6">
<LoginForm />
</div>
);
}
API Reference
LoginForm
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |