nalarx-ui
Components

Radio group

A set of options where exactly one is chosen.

bunx shadcn@latest add @nalarx/radio-group

Props

RadioGroup takes every Base UI RadioGroup prop (value, defaultValue, onValueChange, disabled); RadioGroupItem takes every Radio.Root prop and needs value.

Accessibility

Name the group (aria-label or aria-labelledby) and label each item. Tab reaches the group; arrow keys move the choice.

Replaces

The Platform's base/RadioGroup.tsx.

On this page