CardLogin() — ui Function Reference
Architecture documentation for the CardLogin() function in card-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD af454970_cfdf_c51c_ce77_5f490f0f9131["CardLogin()"] ee714589_8224_8ab3_9e79_b7337e5a44b1["card-example.tsx"] af454970_cfdf_c51c_ce77_5f490f0f9131 -->|defined in| ee714589_8224_8ab3_9e79_b7337e5a44b1 style af454970_cfdf_c51c_ce77_5f490f0f9131 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/card-example.tsx lines 45–99
function CardLogin() {
return (
<Example title="Login">
<Card className="mx-auto w-full max-w-sm">
<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 underline-offset-4 hover:underline"
>
Forgot your password?
</a>
</div>
<Input id="password" type="password" required />
</Field>
</FieldGroup>
</form>
</CardContent>
<CardFooter className="flex-col gap-2">
<Button type="submit" className="w-full">
Login
</Button>
<Button variant="outline" className="w-full">
Login with Google
</Button>
<div className="style-nova:mt-2 mt-4 text-center">
Don't have an account?{" "}
<a href="#" className="underline underline-offset-4">
Sign up
</a>
</div>
</CardFooter>
</Card>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does CardLogin() do?
CardLogin() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/card-example.tsx.
Where is CardLogin() defined?
CardLogin() is defined in apps/v4/registry/bases/radix/examples/card-example.tsx at line 45.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free