← ui-lab

Radio Group

A set of mutually exclusive options with a single tab stop. The arrow keys move focus and check the newly focused option (selection follows focus), wrapping at the ends; Home/End jump to the first/last; Space checks the focused option.

Preview

Installation

npx shadcn@latest add https://ui.publictheta.com/r/radio-group.json

Conformance

This component conforms to the @publictheta/ui-spec radio-group specification. Run the suite against any implementation with pnpm conformance.