RadioGroup
formsRadio button group with native fieldset/legend, visually hidden native inputs, custom styled radio circles with checked dot animation, option descriptions, error state with role=alert, disabled state, and focus-visible ring. Uses role=radiogroup with aria-label.
Import
typescript
import { RadioGroup } from "packages/ui/src";Props
RadioGroupProps
| Prop | Type | Required |
|---|---|---|
label | string | No |
options | RadioOption[] | Yes |
value | string | No |
onChange | (value) => void, name?: string, error?: string | No |
Examples
RadioGroup Component
Radio button group with native fieldset, custom styled circles, descriptions, error/disabled states, and focus ring. 41st component.