Home / Function/ DropdownMenuLabel() — ui Function Reference

DropdownMenuLabel() — ui Function Reference

Architecture documentation for the DropdownMenuLabel() function in dropdown-menu.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  dc100a31_55c2_9fc1_f029_f18706eab3aa["DropdownMenuLabel()"]
  6ddcda86_b172_0c9f_ca4d_3312218efc48["dropdown-menu.tsx"]
  dc100a31_55c2_9fc1_f029_f18706eab3aa -->|defined in| 6ddcda86_b172_0c9f_ca4d_3312218efc48
  style dc100a31_55c2_9fc1_f029_f18706eab3aa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/dropdown-menu.tsx lines 146–164

function DropdownMenuLabel({
  className,
  inset,
  ...props
}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
  inset?: boolean
}) {
  return (
    <DropdownMenuPrimitive.Label
      data-slot="dropdown-menu-label"
      data-inset={inset}
      className={cn(
        "px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does DropdownMenuLabel() do?
DropdownMenuLabel() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/dropdown-menu.tsx.
Where is DropdownMenuLabel() defined?
DropdownMenuLabel() is defined in apps/v4/registry/new-york-v4/ui/dropdown-menu.tsx at line 146.

Analyze Your Own Codebase

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

Try Supermodel Free