Home / Function/ PickerLabel() — ui Function Reference

PickerLabel() — ui Function Reference

Architecture documentation for the PickerLabel() function in picker.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  f2e3f458_dbbe_de22_5e3b_a00f832ecf70["PickerLabel()"]
  b092b998_90ed_5dea_8a23_d23b4e659d3e["picker.tsx"]
  f2e3f458_dbbe_de22_5e3b_a00f832ecf70 -->|defined in| b092b998_90ed_5dea_8a23_d23b4e659d3e
  style f2e3f458_dbbe_de22_5e3b_a00f832ecf70 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/app/(create)/components/picker.tsx lines 71–89

function PickerLabel({
  className,
  inset,
  ...props
}: MenuPrimitive.GroupLabel.Props & {
  inset?: boolean
}) {
  return (
    <MenuPrimitive.GroupLabel
      data-slot="dropdown-menu-label"
      data-inset={inset}
      className={cn(
        "text-muted-foreground px-2 py-1.5 text-xs font-medium data-inset:pl-8",
        className
      )}
      {...props}
    />
  )
}

Domain

Subdomains

Frequently Asked Questions

What does PickerLabel() do?
PickerLabel() is a function in the ui codebase, defined in apps/v4/app/(create)/components/picker.tsx.
Where is PickerLabel() defined?
PickerLabel() is defined in apps/v4/app/(create)/components/picker.tsx at line 71.

Analyze Your Own Codebase

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

Try Supermodel Free