CardSmall() — ui Function Reference
Architecture documentation for the CardSmall() function in card-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 6ef6f9ec_04f4_45eb_8895_de27eb5ac509["CardSmall()"] 87a19b49_f9c9_d0f6_82c8_bd14af27311a["card-example.tsx"] 6ef6f9ec_04f4_45eb_8895_de27eb5ac509 -->|defined in| 87a19b49_f9c9_d0f6_82c8_bd14af27311a style 6ef6f9ec_04f4_45eb_8895_de27eb5ac509 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/card-example.tsx lines 302–326
function CardSmall() {
return (
<Example title="Small Size">
<Card size="sm" className="mx-auto w-full max-w-sm">
<CardHeader>
<CardTitle>Small Card</CardTitle>
<CardDescription>
This card uses the small size variant.
</CardDescription>
</CardHeader>
<CardContent>
<p>
The card component supports a size prop that can be set to
"sm" for a more compact appearance.
</p>
</CardContent>
<CardFooter>
<Button variant="outline" size="sm" className="w-full">
Action
</Button>
</CardFooter>
</Card>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does CardSmall() do?
CardSmall() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/card-example.tsx.
Where is CardSmall() defined?
CardSmall() is defined in apps/v4/registry/bases/base/examples/card-example.tsx at line 302.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free