LoginForm() — ui Function Reference
Architecture documentation for the LoginForm() function in login-form.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 4423679c_3c0f_b0c5_24a2_48a7937fceb7["LoginForm()"] eac36728_50cb_38c2_fb55_0795f34d9469["login-form.tsx"] 4423679c_3c0f_b0c5_24a2_48a7937fceb7 -->|defined in| eac36728_50cb_38c2_fb55_0795f34d9469 style 4423679c_3c0f_b0c5_24a2_48a7937fceb7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/blocks/login-01/components/login-form.tsx lines 18–70
export function LoginForm({
className,
...props
}: React.ComponentProps<"div">) {
return (
<div className={cn("flex flex-col gap-6", className)} {...props}>
<Card>
<CardHeader>
<CardTitle>Login to your account</CardTitle>
<CardDescription>
Enter your email below to login to your account
</CardDescription>
</CardHeader>
<CardContent>
<form>
<FieldGroup>
<Field>
<FieldLabel htmlFor="email">Email</FieldLabel>
<Input
id="email"
type="email"
placeholder="m@example.com"
required
/>
</Field>
<Field>
<div className="flex items-center">
<FieldLabel htmlFor="password">Password</FieldLabel>
<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 />
</Field>
<Field>
<Button type="submit">Login</Button>
<Button variant="outline" type="button">
Login with Google
</Button>
<FieldDescription className="text-center">
Don't have an account? <a href="#">Sign up</a>
</FieldDescription>
</Field>
</FieldGroup>
</form>
</CardContent>
</Card>
</div>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does LoginForm() do?
LoginForm() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/blocks/login-01/components/login-form.tsx.
Where is LoginForm() defined?
LoginForm() is defined in apps/v4/registry/new-york-v4/blocks/login-01/components/login-form.tsx at line 18.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free