A native radio: radios that share a name choose one, without JavaScript.
Installation
Examples
Default
The arrow keys move the choice between radios of the same name. Wrap each one and its text in a label.
demo.tsx
Disabled
disabled dims a radio, and the arrow keys skip it.
disabled.tsx
With a legend
A fieldset with a legend names the group for assistive technology.
legend.tsx
Anatomy
Each part's data-slot, which a theme styles, is beside it.
bun add @roprgm/ui