PickerCheckboxItem() — ui Function Reference
Architecture documentation for the PickerCheckboxItem() function in picker.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 7666e9ae_c962_f16d_e791_6b4d0d63bf00["PickerCheckboxItem()"] b092b998_90ed_5dea_8a23_d23b4e659d3e["picker.tsx"] 7666e9ae_c962_f16d_e791_6b4d0d63bf00 -->|defined in| b092b998_90ed_5dea_8a23_d23b4e659d3e style 7666e9ae_c962_f16d_e791_6b4d0d63bf00 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/app/(create)/components/picker.tsx lines 173–203
function PickerCheckboxItem({
className,
children,
checked,
...props
}: MenuPrimitive.CheckboxItem.Props) {
return (
<MenuPrimitive.CheckboxItem
data-slot="dropdown-menu-checkbox-item"
className={cn(
"focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
checked={checked}
{...props}
>
<span className="pointer-events-none absolute right-2 flex items-center justify-center">
<MenuPrimitive.CheckboxItemIndicator>
<IconPlaceholder
lucide="CheckIcon"
tabler="IconCheck"
hugeicons="Tick02Icon"
phosphor="CheckIcon"
remixicon="RiCheckLine"
/>
</MenuPrimitive.CheckboxItemIndicator>
</span>
{children}
</MenuPrimitive.CheckboxItem>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does PickerCheckboxItem() do?
PickerCheckboxItem() is a function in the ui codebase, defined in apps/v4/app/(create)/components/picker.tsx.
Where is PickerCheckboxItem() defined?
PickerCheckboxItem() is defined in apps/v4/app/(create)/components/picker.tsx at line 173.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free