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 3701949f_8300_abda_8623_408bd8da1ce2["item-link.tsx"] 6dd5189d_43e3_a38a_acbe_4ea1ae186ae2["item"] 3701949f_8300_abda_8623_408bd8da1ce2 --> 6dd5189d_43e3_a38a_acbe_4ea1ae186ae2 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] 3701949f_8300_abda_8623_408bd8da1ce2 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 style 3701949f_8300_abda_8623_408bd8da1ce2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
Item,
ItemActions,
ItemContent,
ItemDescription,
ItemTitle,
} from "@/examples/base/ui/item"
import { ChevronRightIcon, ExternalLinkIcon } from "lucide-react"
export function ItemLink() {
return (
<div className="flex w-full max-w-md flex-col gap-4">
<Item render={<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>
</Item>
<Item
variant="outline"
render={<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>
</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 DocumentationAtlas domain, ContentSourcing 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/examples/base/item-link.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/base).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free