Home / Function/ OutlineLinkItems() — ui Function Reference

OutlineLinkItems() — ui Function Reference

Architecture documentation for the OutlineLinkItems() function in item-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  0c604078_072a_bfbb_3c82_7d3c2086f3e7["OutlineLinkItems()"]
  c6f7f3f1_b32d_d1ac_3270_85fac0220e98["item-example.tsx"]
  0c604078_072a_bfbb_3c82_7d3c2086f3e7 -->|defined in| c6f7f3f1_b32d_d1ac_3270_85fac0220e98
  style 0c604078_072a_bfbb_3c82_7d3c2086f3e7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/item-example.tsx lines 1241–1305

function OutlineLinkItems() {
  return (
    <Example title="Outline - asChild">
      <ItemGroup>
        <Item variant="outline" render={<a href="#" />}>
          <ItemContent>
            <ItemTitle>Title Only (Link)</ItemTitle>
          </ItemContent>
        </Item>
        <Item variant="outline" render={<a href="#" />}>
          <ItemContent>
            <ItemTitle>Title + Description (Link)</ItemTitle>
            <ItemDescription>
              Clickable item with title and description.
            </ItemDescription>
          </ItemContent>
        </Item>
        <Item variant="outline" render={<a href="#" />}>
          <ItemMedia variant="icon">
            <IconPlaceholder
              lucide="InboxIcon"
              tabler="IconArchive"
              hugeicons="Archive02Icon"
              phosphor="ArchiveIcon"
              remixicon="RiArchiveLine"
            />
          </ItemMedia>
          <ItemContent>
            <ItemTitle>Media + Title (Link)</ItemTitle>
          </ItemContent>
        </Item>
        <Item variant="outline" render={<a href="#" />}>
          <ItemMedia variant="icon">
            <IconPlaceholder
              lucide="InboxIcon"
              tabler="IconArchive"
              hugeicons="Archive02Icon"
              phosphor="ArchiveIcon"
              remixicon="RiArchiveLine"
            />
          </ItemMedia>
          <ItemContent>
            <ItemTitle>Media + Title + Description (Link)</ItemTitle>
            <ItemDescription>
              Complete link item with media, title, and description.
            </ItemDescription>
          </ItemContent>
        </Item>
        <Item variant="outline" render={<a href="#" />}>
          <ItemContent>
            <ItemTitle>With Actions (Link)</ItemTitle>
            <ItemDescription>
              Link item that also has action buttons.
            </ItemDescription>
          </ItemContent>
          <ItemActions>
            <Button variant="outline" size="sm">
              Share
            </Button>
          </ItemActions>
        </Item>
      </ItemGroup>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does OutlineLinkItems() do?
OutlineLinkItems() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/item-example.tsx.
Where is OutlineLinkItems() defined?
OutlineLinkItems() is defined in apps/v4/registry/bases/base/examples/item-example.tsx at line 1241.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free