ContextMenuCheckboxItem() — ui Function Reference
Architecture documentation for the ContextMenuCheckboxItem() function in context-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 7310fc9f_28ce_74c9_abca_2fbc412b9999["ContextMenuCheckboxItem()"] 930cc572_d1fb_f298_a104_7f37f14aee1f["context-menu.tsx"] 7310fc9f_28ce_74c9_abca_2fbc412b9999 -->|defined in| 930cc572_d1fb_f298_a104_7f37f14aee1f style 7310fc9f_28ce_74c9_abca_2fbc412b9999 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/ui/context-menu.tsx lines 151–185
function ContextMenuCheckboxItem({
className,
children,
checked,
inset,
...props
}: React.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem> & {
inset?: boolean
}) {
return (
<ContextMenuPrimitive.CheckboxItem
data-slot="context-menu-checkbox-item"
data-inset={inset}
className={cn(
"cn-context-menu-checkbox-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
className
)}
checked={checked}
{...props}
>
<span className="cn-context-menu-item-indicator pointer-events-none">
<ContextMenuPrimitive.ItemIndicator>
<IconPlaceholder
lucide="CheckIcon"
tabler="IconCheck"
hugeicons="Tick02Icon"
phosphor="CheckIcon"
remixicon="RiCheckLine"
/>
</ContextMenuPrimitive.ItemIndicator>
</span>
{children}
</ContextMenuPrimitive.CheckboxItem>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ContextMenuCheckboxItem() do?
ContextMenuCheckboxItem() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/context-menu.tsx.
Where is ContextMenuCheckboxItem() defined?
ContextMenuCheckboxItem() is defined in apps/v4/registry/bases/radix/ui/context-menu.tsx at line 151.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free