item-variant.tsx — ui Source File
Architecture documentation for item-variant.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 6c2dc171_4210_4730_4f09_c68bc24612a4["item-variant.tsx"] 57e86e45_ac6e_7278_be08_9092724e8401["button"] 6c2dc171_4210_4730_4f09_c68bc24612a4 --> 57e86e45_ac6e_7278_be08_9092724e8401 58f4fa76_4350_6209_54e6_f19a58e0eda4["item"] 6c2dc171_4210_4730_4f09_c68bc24612a4 --> 58f4fa76_4350_6209_54e6_f19a58e0eda4 style 6c2dc171_4210_4730_4f09_c68bc24612a4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Button } from "@/registry/new-york-v4/ui/button"
import {
Item,
ItemActions,
ItemContent,
ItemDescription,
ItemTitle,
} from "@/registry/new-york-v4/ui/item"
export default function ItemVariant() {
return (
<div className="flex flex-col gap-6">
<Item>
<ItemContent>
<ItemTitle>Default Variant</ItemTitle>
<ItemDescription>
Standard styling with subtle background and borders.
</ItemDescription>
</ItemContent>
<ItemActions>
<Button variant="outline" size="sm">
Open
</Button>
</ItemActions>
</Item>
<Item variant="outline">
<ItemContent>
<ItemTitle>Outline Variant</ItemTitle>
<ItemDescription>
Outlined style with clear borders and transparent background.
</ItemDescription>
</ItemContent>
<ItemActions>
<Button variant="outline" size="sm">
Open
</Button>
</ItemActions>
</Item>
<Item variant="muted">
<ItemContent>
<ItemTitle>Muted Variant</ItemTitle>
<ItemDescription>
Subdued appearance with muted colors for secondary content.
</ItemDescription>
</ItemContent>
<ItemActions>
<Button variant="outline" size="sm">
Open
</Button>
</ItemActions>
</Item>
</div>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- item
Source
Frequently Asked Questions
What does item-variant.tsx do?
item-variant.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-variant.tsx?
item-variant.tsx defines 1 function(s): ItemVariant.
What does item-variant.tsx depend on?
item-variant.tsx imports 2 module(s): button, item.
Where is item-variant.tsx in the architecture?
item-variant.tsx is located at apps/v4/registry/new-york-v4/examples/item-variant.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