CardDemo() — ui Function Reference
Architecture documentation for the CardDemo() function in card-demo.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 8e435a01_1af9_f022_52b6_353952fdcbb8["CardDemo()"] b7e7612a_1a32_3440_61b7_973973a80ab5["card-demo.tsx"] 8e435a01_1af9_f022_52b6_353952fdcbb8 -->|defined in| b7e7612a_1a32_3440_61b7_973973a80ab5 style 8e435a01_1af9_f022_52b6_353952fdcbb8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/card-demo.tsx lines 14–63
export default function CardDemo() {
return (
<Card className="w-full max-w-sm">
<CardHeader>
<CardTitle>Login to your account</CardTitle>
<CardDescription>
Enter your email below to login to your account
</CardDescription>
<CardAction>
<Button variant="link">Sign Up</Button>
</CardAction>
</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>
</div>
</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>
</CardFooter>
</Card>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does CardDemo() do?
CardDemo() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/card-demo.tsx.
Where is CardDemo() defined?
CardDemo() is defined in apps/v4/registry/new-york-v4/examples/card-demo.tsx at line 14.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free