Radio Group

Choose exactly one option from a small set of visible choices.

Stablev0.3.0@garn/ui/radio-group

Default

Three labeled options, one preselected.

Sizing

Radio dot size (fixed --garn-box-* geometry, identity); set on the root, propagated to items.

sm
md
lg

States

Interactive states, toggled live.

usage
<RadioGroup>
  <div className="flex items-center gap-2"><RadioGroupItem value="a" id="a" /><Label htmlFor="a">One</Label></div>
  <div className="flex items-center gap-2"><RadioGroupItem value="b" id="b" /><Label htmlFor="b">Two</Label></div>
</RadioGroup>

State