DropdownMenuRadioItem() — ui Function Reference
Architecture documentation for the DropdownMenuRadioItem() function in dropdown-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 36f97305_36ba_630a_a948_c721f42ac3c5["DropdownMenuRadioItem()"] 31bd3b68_e261_43d5_e508_adf6fc257b8a["dropdown-menu.tsx"] 36f97305_36ba_630a_a948_c721f42ac3c5 -->|defined in| 31bd3b68_e261_43d5_e508_adf6fc257b8a style 36f97305_36ba_630a_a948_c721f42ac3c5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/ui/dropdown-menu.tsx lines 203–238
function DropdownMenuRadioItem({
className,
children,
inset,
...props
}: MenuPrimitive.RadioItem.Props & {
inset?: boolean
}) {
return (
<MenuPrimitive.RadioItem
data-slot="dropdown-menu-radio-item"
data-inset={inset}
className={cn(
"cn-dropdown-menu-radio-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
)}
{...props}
>
<span
className="cn-dropdown-menu-item-indicator pointer-events-none"
data-slot="dropdown-menu-radio-item-indicator"
>
<MenuPrimitive.RadioItemIndicator>
<IconPlaceholder
lucide="CheckIcon"
tabler="IconCheck"
hugeicons="Tick02Icon"
phosphor="CheckIcon"
remixicon="RiCheckLine"
/>
</MenuPrimitive.RadioItemIndicator>
</span>
{children}
</MenuPrimitive.RadioItem>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does DropdownMenuRadioItem() do?
DropdownMenuRadioItem() is a function in the ui codebase, defined in apps/v4/registry/bases/base/ui/dropdown-menu.tsx.
Where is DropdownMenuRadioItem() defined?
DropdownMenuRadioItem() is defined in apps/v4/registry/bases/base/ui/dropdown-menu.tsx at line 203.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free