LoginForm() — ui Function Reference
Architecture documentation for the LoginForm() function in login-form.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD f4f49897_1f2c_45e3_38ea_ca5f42d069ba["LoginForm()"] 9dcb6dcb_a824_62bc_748f_b9c1e505d176["login-form.tsx"] f4f49897_1f2c_45e3_38ea_ca5f42d069ba -->|defined in| 9dcb6dcb_a824_62bc_748f_b9c1e505d176 style f4f49897_1f2c_45e3_38ea_ca5f42d069ba fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/default/blocks/login-01/components/login-form.tsx lines 13–68
export function LoginForm({
className,
...props
}: React.ComponentPropsWithoutRef<"div">) {
return (
<div className={cn("flex flex-col gap-6", className)} {...props}>
<Card>
<CardHeader>
<CardTitle className="text-2xl">Login</CardTitle>
<CardDescription>
Enter your email below to login to your account
</CardDescription>
</CardHeader>
<CardContent>
<form>
<div className="flex flex-col gap-6">
<div className="grid gap-2">
<Label htmlFor="email">Email</Label>
<Input
id="email"
type="email"
placeholder="m@example.com"
required
/>
</div>
<div className="grid gap-2">
<div className="flex items-center">
<Label htmlFor="password">Password</Label>
<a
href="#"
className="ml-auto inline-block text-sm underline-offset-4 hover:underline"
>
Forgot your password?
</a>
</div>
<Input id="password" type="password" required />
</div>
<Button type="submit" className="w-full">
Login
</Button>
<Button variant="outline" className="w-full">
Login with Google
</Button>
</div>
<div className="mt-4 text-center text-sm">
Don't have an account?{" "}
<a href="#" className="underline underline-offset-4">
Sign up
</a>
</div>
</form>
</CardContent>
</Card>
</div>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does LoginForm() do?
LoginForm() is a function in the ui codebase, defined in deprecated/www/registry/default/blocks/login-01/components/login-form.tsx.
Where is LoginForm() defined?
LoginForm() is defined in deprecated/www/registry/default/blocks/login-01/components/login-form.tsx at line 13.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free