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
  7a404b8e_f20e_7867_00bb_6c98e452d32c["item-demo.tsx"]
  4544fa74_9b37_0912_c55e_f4ff161b8e83["button"]
  7a404b8e_f20e_7867_00bb_6c98e452d32c --> 4544fa74_9b37_0912_c55e_f4ff161b8e83
  6dd5189d_43e3_a38a_acbe_4ea1ae186ae2["item"]
  7a404b8e_f20e_7867_00bb_6c98e452d32c --> 6dd5189d_43e3_a38a_acbe_4ea1ae186ae2
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  7a404b8e_f20e_7867_00bb_6c98e452d32c --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 7a404b8e_f20e_7867_00bb_6c98e452d32c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/base/ui/button"
import {
  Item,
  ItemActions,
  ItemContent,
  ItemDescription,
  ItemMedia,
  ItemTitle,
} from "@/examples/base/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" 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

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/base/item-demo.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/base).

Analyze Your Own Codebase

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

Try Supermodel Free