Reka UI logoReka
backdrop
PropDefaultType
as
'div'
AsTag | Component

The element or component this component should render as. Can be overwritten by asChild.

asChild
boolean

Change the default rendered element for the one passed as a child, merging their props and behavior.

Read our Composition guide for more details.

defaultValue
AcceptableValue

The value of the radio item that should be checked when initially rendered.

Use when you do not need to control the state of the radio items.

dir
'ltr' | 'rtl'

The reading direction of the combobox when applicable.
If omitted, inherits globally from ConfigProvider or assumes LTR (left-to-right) reading mode.

disabled
false
boolean

When true, prevents the user from interacting with radio items.

loop
true
boolean

When true, keyboard navigation will loop from last item to first, and vice versa.

modelValue
AcceptableValue

The controlled value of the radio item to check. Can be binded as v-model.

name
string

The name of the field. Submitted with its owning form as part of a name/value pair.

orientation
'vertical' | 'horizontal'

The orientation of the component.

required
false
boolean

When true, indicates that the user must set the value before the owning form can be submitted.

EmitPayload
update:modelValue
[payload: string]

Event handler called when the radio group value changes

Slots (default)Payload
modelValue
null | string | number | bigint | Record<string, any>

Current input values