ItemDemo() — ui Function Reference
Architecture documentation for the ItemDemo() function in item-demo.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 49b3e8b9_4d93_b72a_5385_e57e4b28cbc9["ItemDemo()"] 4bd0dace_de51_7dca_7270_2b8dbb44af5d["item-demo.tsx"] 49b3e8b9_4d93_b72a_5385_e57e4b28cbc9 -->|defined in| 4bd0dace_de51_7dca_7270_2b8dbb44af5d style 49b3e8b9_4d93_b72a_5385_e57e4b28cbc9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/item-demo.tsx lines 13–44
export default function ItemDemo() {
return (
<div className="flex w-full max-w-md flex-col gap-6">
<Item variant="outline">
<ItemContent>
<ItemTitle>Basic Item</ItemTitle>
<ItemDescription>
A simple item with title and description.
</ItemDescription>
</ItemContent>
<ItemActions>
<Button variant="outline" size="sm">
Action
</Button>
</ItemActions>
</Item>
<Item variant="outline" size="sm" asChild>
<a href="#">
<ItemMedia>
<BadgeCheckIcon className="size-5" />
</ItemMedia>
<ItemContent>
<ItemTitle>Your profile has been verified.</ItemTitle>
</ItemContent>
<ItemActions>
<ChevronRightIcon className="size-4" />
</ItemActions>
</a>
</Item>
</div>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ItemDemo() do?
ItemDemo() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/item-demo.tsx.
Where is ItemDemo() defined?
ItemDemo() is defined in apps/v4/registry/new-york-v4/examples/item-demo.tsx at line 13.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free