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
  101a5bed_c321_75c8_71a3_9e4fe865586d["ItemDemo()"]
  7a404b8e_f20e_7867_00bb_6c98e452d32c["item-demo.tsx"]
  101a5bed_c321_75c8_71a3_9e4fe865586d -->|defined in| 7a404b8e_f20e_7867_00bb_6c98e452d32c
  style 101a5bed_c321_75c8_71a3_9e4fe865586d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/item-demo.tsx lines 12–41

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" render={<a href="#" />}>
        <ItemMedia>
          <BadgeCheckIcon className="size-5" />
        </ItemMedia>
        <ItemContent>
          <ItemTitle>Your profile has been verified.</ItemTitle>
        </ItemContent>
        <ItemActions>
          <ChevronRightIcon className="size-4" />
        </ItemActions>
      </Item>
    </div>
  )
}

Subdomains

Frequently Asked Questions

What does ItemDemo() do?
ItemDemo() is a function in the ui codebase, defined in apps/v4/examples/base/item-demo.tsx.
Where is ItemDemo() defined?
ItemDemo() is defined in apps/v4/examples/base/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