card-small.tsx — ui Source File
Architecture documentation for card-small.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 76ddc6fb_2ea0_ad33_b292_a26d0bf48d58["card-small.tsx"] 4b1d2128_46d9_46f0_b915_b6e1925b7876["button"] 76ddc6fb_2ea0_ad33_b292_a26d0bf48d58 --> 4b1d2128_46d9_46f0_b915_b6e1925b7876 a3f5dc6c_2f22_a06c_c4d4_d84a4ed2818e["card"] 76ddc6fb_2ea0_ad33_b292_a26d0bf48d58 --> a3f5dc6c_2f22_a06c_c4d4_d84a4ed2818e style 76ddc6fb_2ea0_ad33_b292_a26d0bf48d58 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Button } from "@/examples/radix/ui/button"
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/examples/radix/ui/card"
export function CardSmall() {
return (
<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>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- card
Source
Frequently Asked Questions
What does card-small.tsx do?
card-small.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in card-small.tsx?
card-small.tsx defines 1 function(s): CardSmall.
What does card-small.tsx depend on?
card-small.tsx imports 2 module(s): button, card.
Where is card-small.tsx in the architecture?
card-small.tsx is located at apps/v4/examples/radix/card-small.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/radix).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free