ItemIcon() — ui Function Reference
Architecture documentation for the ItemIcon() function in item-icon.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 41d19054_3663_3ff9_c027_3a0f7b88c3fb["ItemIcon()"] 39119c9e_1e9c_27d4_8ca4_a395bda141bb["item-icon.tsx"] 41d19054_3663_3ff9_c027_3a0f7b88c3fb -->|defined in| 39119c9e_1e9c_27d4_8ca4_a395bda141bb style 41d19054_3663_3ff9_c027_3a0f7b88c3fb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/item-icon.tsx lines 12–33
export function ItemIcon() {
return (
<div className="flex w-full max-w-lg flex-col gap-6">
<Item variant="outline">
<ItemMedia variant="icon">
<ShieldAlertIcon />
</ItemMedia>
<ItemContent>
<ItemTitle>Security Alert</ItemTitle>
<ItemDescription>
New login detected from unknown device.
</ItemDescription>
</ItemContent>
<ItemActions>
<Button size="sm" variant="outline">
Review
</Button>
</ItemActions>
</Item>
</div>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does ItemIcon() do?
ItemIcon() is a function in the ui codebase, defined in apps/v4/examples/radix/item-icon.tsx.
Where is ItemIcon() defined?
ItemIcon() is defined in apps/v4/examples/radix/item-icon.tsx at line 12.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free