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

Relationship Graph

Source Code

apps/v4/app/(app)/(root)/components/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>Two-factor authentication</ItemTitle>
          <ItemDescription className="text-pretty xl:hidden 2xl:block">
            Verify via email or phone number.
          </ItemDescription>
        </ItemContent>
        <ItemActions>
          <Button size="sm">Enable</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/app/(app)/(root)/components/item-demo.tsx.
Where is ItemDemo() defined?
ItemDemo() is defined in apps/v4/app/(app)/(root)/components/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