ContextMenuRadioItem() — ui Function Reference
Architecture documentation for the ContextMenuRadioItem() function in context-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 848d1948_6bd3_6ada_28e9_c77933015bfc["ContextMenuRadioItem()"] a8278523_5891_13ac_c50b_9df3d37da6a2["context-menu.tsx"] 848d1948_6bd3_6ada_28e9_c77933015bfc -->|defined in| a8278523_5891_13ac_c50b_9df3d37da6a2 style 848d1948_6bd3_6ada_28e9_c77933015bfc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/ui/context-menu.tsx lines 163–185
function ContextMenuRadioItem({
className,
children,
...props
}: React.ComponentProps<typeof ContextMenuPrimitive.RadioItem>) {
return (
<ContextMenuPrimitive.RadioItem
data-slot="context-menu-radio-item"
className={cn(
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 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
)}
{...props}
>
<span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">
<ContextMenuPrimitive.ItemIndicator>
<CircleIcon className="size-2 fill-current" />
</ContextMenuPrimitive.ItemIndicator>
</span>
{children}
</ContextMenuPrimitive.RadioItem>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ContextMenuRadioItem() do?
ContextMenuRadioItem() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/context-menu.tsx.
Where is ContextMenuRadioItem() defined?
ContextMenuRadioItem() is defined in apps/v4/registry/new-york-v4/ui/context-menu.tsx at line 163.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free