item-link.tsx — ui Source File
Architecture documentation for item-link.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 51f4700c_25f4_39e3_8f4f_c7477bf6a9e1["item-link.tsx"] d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] 51f4700c_25f4_39e3_8f4f_c7477bf6a9e1 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 58f4fa76_4350_6209_54e6_f19a58e0eda4["item"] 51f4700c_25f4_39e3_8f4f_c7477bf6a9e1 --> 58f4fa76_4350_6209_54e6_f19a58e0eda4 style 51f4700c_25f4_39e3_8f4f_c7477bf6a9e1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { ChevronRightIcon, ExternalLinkIcon } from "lucide-react"
import {
Item,
ItemActions,
ItemContent,
ItemDescription,
ItemTitle,
} from "@/registry/new-york-v4/ui/item"
export default function ItemLink() {
return (
<div className="flex w-full max-w-md flex-col gap-4">
<Item asChild>
<a href="#">
<ItemContent>
<ItemTitle>Visit our documentation</ItemTitle>
<ItemDescription>
Learn how to get started with our components.
</ItemDescription>
</ItemContent>
<ItemActions>
<ChevronRightIcon className="size-4" />
</ItemActions>
</a>
</Item>
<Item variant="outline" asChild>
<a href="#" target="_blank" rel="noopener noreferrer">
<ItemContent>
<ItemTitle>External resource</ItemTitle>
<ItemDescription>
Opens in a new tab with security attributes.
</ItemDescription>
</ItemContent>
<ItemActions>
<ExternalLinkIcon className="size-4" />
</ItemActions>
</a>
</Item>
</div>
)
}
Domain
Subdomains
Functions
Dependencies
- item
- lucide-react
Source
Frequently Asked Questions
What does item-link.tsx do?
item-link.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-link.tsx?
item-link.tsx defines 1 function(s): ItemLink.
What does item-link.tsx depend on?
item-link.tsx imports 2 module(s): item, lucide-react.
Where is item-link.tsx in the architecture?
item-link.tsx is located at apps/v4/registry/new-york-v4/examples/item-link.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