item-size.tsx — ui Source File
Architecture documentation for item-size.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR fc1f8265_cbe9_818f_35b7_a3dffb5c8818["item-size.tsx"] d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] fc1f8265_cbe9_818f_35b7_a3dffb5c8818 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 57e86e45_ac6e_7278_be08_9092724e8401["button"] fc1f8265_cbe9_818f_35b7_a3dffb5c8818 --> 57e86e45_ac6e_7278_be08_9092724e8401 58f4fa76_4350_6209_54e6_f19a58e0eda4["item"] fc1f8265_cbe9_818f_35b7_a3dffb5c8818 --> 58f4fa76_4350_6209_54e6_f19a58e0eda4 style fc1f8265_cbe9_818f_35b7_a3dffb5c8818 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { BadgeCheckIcon, ChevronRightIcon } 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 ItemSizeDemo() {
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
Functions
Dependencies
- button
- item
- lucide-react
Source
Frequently Asked Questions
What does item-size.tsx do?
item-size.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-size.tsx?
item-size.tsx defines 1 function(s): ItemSizeDemo.
What does item-size.tsx depend on?
item-size.tsx imports 3 module(s): button, item, lucide-react.
Where is item-size.tsx in the architecture?
item-size.tsx is located at apps/v4/registry/new-york-v4/examples/item-size.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