item-icon.tsx — ui Source File
Architecture documentation for item-icon.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 67eaf26c_b547_0ca7_3b5b_db2ced141f5e["item-icon.tsx"] d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] 67eaf26c_b547_0ca7_3b5b_db2ced141f5e --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 57e86e45_ac6e_7278_be08_9092724e8401["button"] 67eaf26c_b547_0ca7_3b5b_db2ced141f5e --> 57e86e45_ac6e_7278_be08_9092724e8401 58f4fa76_4350_6209_54e6_f19a58e0eda4["item"] 67eaf26c_b547_0ca7_3b5b_db2ced141f5e --> 58f4fa76_4350_6209_54e6_f19a58e0eda4 style 67eaf26c_b547_0ca7_3b5b_db2ced141f5e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { ShieldAlertIcon } from "lucide-react"
import { Button } from "@/registry/new-york-v4/ui/button"
import {
Item,
ItemActions,
ItemContent,
ItemDescription,
ItemMedia,
ItemTitle,
} from "@/registry/new-york-v4/ui/item"
export default 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
Functions
Dependencies
- button
- item
- lucide-react
Source
Frequently Asked Questions
What does item-icon.tsx do?
item-icon.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in item-icon.tsx?
item-icon.tsx defines 1 function(s): ItemIcon.
What does item-icon.tsx depend on?
item-icon.tsx imports 3 module(s): button, item, lucide-react.
Where is item-icon.tsx in the architecture?
item-icon.tsx is located at apps/v4/registry/new-york-v4/examples/item-icon.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free