ItemExample() — ui Function Reference
Architecture documentation for the ItemExample() function in preview.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 0eec8834_b8e8_b505_2ec2_6335114709a3["ItemExample()"] f02a92c6_0fdc_9231_5419_752092d638ff["preview.tsx"] 0eec8834_b8e8_b505_2ec2_6335114709a3 -->|defined in| f02a92c6_0fdc_9231_5419_752092d638ff style 0eec8834_b8e8_b505_2ec2_6335114709a3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/blocks/preview.tsx lines 1557–1591
function ItemExample() {
return (
<Example title="Item">
<div className="flex w-full max-w-md flex-col gap-6">
<Item variant="outline">
<ItemContent>
<ItemTitle>Two-factor authentication</ItemTitle>
<ItemDescription className="text-pretty xl:hidden 2xl:block">
Verify via email or phone number.
</ItemDescription>
</ItemContent>
<ItemActions>
<Button size="sm" variant="secondary">
Enable
</Button>
</ItemActions>
</Item>
<Item variant="outline" size="sm" render={<a href="#" />}>
<ItemMedia variant="icon">
<IconPlaceholder
lucide="ShoppingBagIcon"
tabler="IconShoppingBag"
hugeicons="ShoppingBasket01Icon"
phosphor="BagIcon"
remixicon="RiShoppingBagLine"
/>
</ItemMedia>
<ItemContent>
<ItemTitle>Your order has been shipped.</ItemTitle>
</ItemContent>
</Item>
</div>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ItemExample() do?
ItemExample() is a function in the ui codebase, defined in apps/v4/registry/bases/base/blocks/preview.tsx.
Where is ItemExample() defined?
ItemExample() is defined in apps/v4/registry/bases/base/blocks/preview.tsx at line 1557.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free