Home / Function/ ItemDemo() — ui Function Reference

ItemDemo() — ui Function Reference

Architecture documentation for the ItemDemo() function in item-demo.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  e4e5dd21_9e7e_799b_3a7c_fba5309a2eee["ItemDemo()"]
  37278e82_eee5_6918_d5f1_4b5e714ad80b["item-demo.tsx"]
  e4e5dd21_9e7e_799b_3a7c_fba5309a2eee -->|defined in| 37278e82_eee5_6918_d5f1_4b5e714ad80b
  style e4e5dd21_9e7e_799b_3a7c_fba5309a2eee fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/item-demo.tsx lines 12–43

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

Frequently Asked Questions

What does ItemDemo() do?
ItemDemo() is a function in the ui codebase, defined in apps/v4/examples/radix/item-demo.tsx.
Where is ItemDemo() defined?
ItemDemo() is defined in apps/v4/examples/radix/item-demo.tsx at line 12.

Analyze Your Own Codebase

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

Try Supermodel Free