Card() — ui Function Reference
Architecture documentation for the Card() function in card.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 1337c3ce_af0a_3328_1aa7_da0557d4fb6e["Card()"] 60e1f93b_67fc_124a_72ef_95bf753e33ca["card.tsx"] 1337c3ce_af0a_3328_1aa7_da0557d4fb6e -->|defined in| 60e1f93b_67fc_124a_72ef_95bf753e33ca style 1337c3ce_af0a_3328_1aa7_da0557d4fb6e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/ui/card.tsx lines 5–16
function Card({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="card"
className={cn(
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Card() do?
Card() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/card.tsx.
Where is Card() defined?
Card() is defined in apps/v4/registry/new-york-v4/ui/card.tsx at line 5.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free