Home / Function/ ItemDescription() — ui Function Reference

ItemDescription() — ui Function Reference

Architecture documentation for the ItemDescription() function in item.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  b38bc1b5_07f1_2753_4789_d94cfcfe2c2a["ItemDescription()"]
  b3d41b4f_f10e_eb25_012d_989fc0566ea3["item.tsx"]
  b38bc1b5_07f1_2753_4789_d94cfcfe2c2a -->|defined in| b3d41b4f_f10e_eb25_012d_989fc0566ea3
  style b38bc1b5_07f1_2753_4789_d94cfcfe2c2a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/item.tsx lines 132–144

function ItemDescription({ className, ...props }: React.ComponentProps<"p">) {
  return (
    <p
      data-slot="item-description"
      className={cn(
        "text-muted-foreground line-clamp-2 text-sm leading-normal font-normal text-balance",
        "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does ItemDescription() do?
ItemDescription() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/item.tsx.
Where is ItemDescription() defined?
ItemDescription() is defined in apps/v4/registry/new-york-v4/ui/item.tsx at line 132.

Analyze Your Own Codebase

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

Try Supermodel Free