Skip to content

RadioGroupItem

Overview

A single radio button within a RadioGroup, rendering a circular indicator when selected and forwarding all native radio props to the underlying primitive.

Theme entry: RadioGroupItem

Props

NameTypeRequiredDefaultDescription
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
valuestring|number|boolean|objectundefinedThe value submitted with form data when this item is selected.
disabledbooleanfalseWhen true, prevents interaction with this radio item.
idstringundefinedThe id attribute for the underlying input element.
asstring|object"button"The element or component to render as.
asChildbooleanfalseWhen true, merges props onto the child element instead of rendering a wrapper.
namestringundefinedThe name submitted with form data.
requiredbooleanfalseWhen true, the item is required.

Slots

default

Slot.

Source

client/lib/controls/radio-group/RadioGroupItem.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2