Home / File/ item-demo.tsx — ui Source File

item-demo.tsx — ui Source File

Architecture documentation for item-demo.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx DocumentationAtlas ContentSourcing 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  37278e82_eee5_6918_d5f1_4b5e714ad80b["item-demo.tsx"]
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  37278e82_eee5_6918_d5f1_4b5e714ad80b --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  c68c8707_2b57_a84c_88d0_54d7bfae76d0["item"]
  37278e82_eee5_6918_d5f1_4b5e714ad80b --> c68c8707_2b57_a84c_88d0_54d7bfae76d0
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  37278e82_eee5_6918_d5f1_4b5e714ad80b --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 37278e82_eee5_6918_d5f1_4b5e714ad80b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/radix/ui/button"
import {
  Item,
  ItemActions,
  ItemContent,
  ItemDescription,
  ItemMedia,
  ItemTitle,
} from "@/examples/radix/ui/item"
import { BadgeCheckIcon, ChevronRightIcon } from "lucide-react"

export function ItemDemo() {
  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>
  )
}

Subdomains

Functions

Dependencies

  • button
  • item
  • lucide-react

Frequently Asked Questions

What does item-demo.tsx do?
item-demo.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-demo.tsx?
item-demo.tsx defines 1 function(s): ItemDemo.
What does item-demo.tsx depend on?
item-demo.tsx imports 3 module(s): button, item, lucide-react.
Where is item-demo.tsx in the architecture?
item-demo.tsx is located at apps/v4/examples/radix/item-demo.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free