login-form.tsx — ui Source File
Architecture documentation for login-form.tsx, a tsx file in the ui codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR b8d1478a_6bca_da5a_f2ad_936860b3969a["login-form.tsx"] 388bdfe2_9bdf_d785_f943_9f13b5518a0b["utils"] b8d1478a_6bca_da5a_f2ad_936860b3969a --> 388bdfe2_9bdf_d785_f943_9f13b5518a0b aa2f3ec6_f291_3763_88ec_65a3f5ad5939["button"] b8d1478a_6bca_da5a_f2ad_936860b3969a --> aa2f3ec6_f291_3763_88ec_65a3f5ad5939 95a7752f_4b97_5bde_5d7d_fca03536ac35["card"] b8d1478a_6bca_da5a_f2ad_936860b3969a --> 95a7752f_4b97_5bde_5d7d_fca03536ac35 2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107["input"] b8d1478a_6bca_da5a_f2ad_936860b3969a --> 2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107 fa665cdb_5f79_b81a_95ab_12ba182fc175["label"] b8d1478a_6bca_da5a_f2ad_936860b3969a --> fa665cdb_5f79_b81a_95ab_12ba182fc175 style b8d1478a_6bca_da5a_f2ad_936860b3969a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { cn } from "@/registry/new-york/lib/utils"
import { Button } from "@/registry/new-york/ui/button"
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/registry/new-york/ui/card"
import { Input } from "@/registry/new-york/ui/input"
import { Label } from "@/registry/new-york/ui/label"
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
Functions
Dependencies
- button
- card
- input
- label
- utils
Source
Frequently Asked Questions
What does login-form.tsx do?
login-form.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in login-form.tsx?
login-form.tsx defines 1 function(s): LoginForm.
What does login-form.tsx depend on?
login-form.tsx imports 5 module(s): button, card, input, label, utils.
Where is login-form.tsx in the architecture?
login-form.tsx is located at deprecated/www/registry/new-york/blocks/login-01/components/login-form.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/blocks/login-01/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free