ItemHeaderDemo() — ui Function Reference
Architecture documentation for the ItemHeaderDemo() function in item-header.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 48796d97_cf3f_85f6_c46f_ee81b55a1788["ItemHeaderDemo()"] 1376f269_4033_72d0_8971_54e2b3cdce8e["item-header.tsx"] 48796d97_cf3f_85f6_c46f_ee81b55a1788 -->|defined in| 1376f269_4033_72d0_8971_54e2b3cdce8e style 48796d97_cf3f_85f6_c46f_ee81b55a1788 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/item-header.tsx lines 35–59
export function ItemHeaderDemo() {
return (
<div className="flex w-full max-w-xl flex-col gap-6">
<ItemGroup className="grid grid-cols-3 gap-4">
{models.map((model) => (
<Item key={model.name} variant="outline">
<ItemHeader>
<Image
src={model.image}
alt={model.name}
width={128}
height={128}
className="aspect-square w-full rounded-sm object-cover"
/>
</ItemHeader>
<ItemContent>
<ItemTitle>{model.name}</ItemTitle>
<ItemDescription>{model.description}</ItemDescription>
</ItemContent>
</Item>
))}
</ItemGroup>
</div>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does ItemHeaderDemo() do?
ItemHeaderDemo() is a function in the ui codebase, defined in apps/v4/examples/radix/item-header.tsx.
Where is ItemHeaderDemo() defined?
ItemHeaderDemo() is defined in apps/v4/examples/radix/item-header.tsx at line 35.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free