ItemHeaderDemo() — ui Function Reference
Architecture documentation for the ItemHeaderDemo() function in item-header.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD cfe92c79_9e8c_e68a_3f65_a5026d8f5fef["ItemHeaderDemo()"] 1740ef97_27c6_99e6_2cc8_7a4d2d5e8219["item-header.tsx"] cfe92c79_9e8c_e68a_3f65_a5026d8f5fef -->|defined in| 1740ef97_27c6_99e6_2cc8_7a4d2d5e8219 style cfe92c79_9e8c_e68a_3f65_a5026d8f5fef fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/item-header.tsx lines 36–60
export default 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
Source
Frequently Asked Questions
What does ItemHeaderDemo() do?
ItemHeaderDemo() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/item-header.tsx.
Where is ItemHeaderDemo() defined?
ItemHeaderDemo() is defined in apps/v4/registry/new-york-v4/examples/item-header.tsx at line 36.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free