Radio Group

Buttons

An accessible animated radio group with spring selection animation, horizontal/vertical layout, keyboard navigation, and per-option disable.

Loading preview...
Customize
Direction:
Disabled

Props

PropTypeDefaultDescription
optionsRadioOption[][]Array of { value, label, disabled? } objects.
valuestringundefinedCurrently selected value.
onChange(value: string) => voidundefinedCallback when a radio option is selected.
direction'horizontal' | 'vertical''vertical'Layout direction of the radio group.
disabledbooleanfalseDisables the entire radio group.
classNamestring''Additional CSS classes.