Radio Group

Choose one option from a short list.

components/ui/radio-group.tsx

Installation

npx betterone-ds add radio-group

Props

PropTypeDefault
defaultValuestring—
orientation"horizontal" | "vertical""vertical"
isDisabledbooleanfalse

Accessibility

  • Arrow keys move between options. Give the group an aria-label.