Skip to content

ContextMenuRadioItem ​

Overview ​

A radio item within a context menu radio group.

Theme entry: ContextMenuRadioItem

Props ​

NameTypeRequiredDefaultDescription
iconOverrideObjectnullA partial icon registry ({ [componentName]: { [iconName]: { component, props } } }) merged with inherited and default icon entries; scopes icon overrides to this component and its descendants.
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
asstring|objectundefinedThe element or component to render as.
asChildbooleanfalseWhen true, merges props onto the child element instead of rendering a wrapper.
disabledbooleanundefinedWhen true, prevents the user from interacting with the item.
textValuestringundefinedOptional text used for typeahead purposes.
valuestring|number|boolean|objectyesThe unique value of this radio item.

Slots ​

indicator ​

Slot.

default ​

Slot.

Events ​

NameDescription
selectEmitted when an item is selected.

Full event reference

Source ​

client/lib/navigation/context-menu/ContextMenuRadioItem.vue