Home / Function/ PickerSubContent() — ui Function Reference

PickerSubContent() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/app/(create)/components/picker.tsx lines 149–171

function PickerSubContent({
  align = "start",
  alignOffset = -3,
  side = "right",
  sideOffset = 0,
  className,
  ...props
}: React.ComponentProps<typeof PickerContent>) {
  return (
    <PickerContent
      data-slot="dropdown-menu-sub-content"
      className={cn(
        "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground w-auto min-w-[96px] rounded-md p-1 shadow-lg ring-1 duration-100",
        className
      )}
      align={align}
      alignOffset={alignOffset}
      side={side}
      sideOffset={sideOffset}
      {...props}
    />
  )
}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free