Flab UIv0.0.2
MobileA2UI

Radio

A single choice from a small, visible set. Base UI drives selection, roving focus and the radiogroup ARIA wiring; the dot fills with the accent green when selected. Radio is just the control — pair it with a label.

Radio group

<RadioGroup defaultValue="card">  <label className="flex items-center gap-2">    <Radio value="card" /> Pay by card  </label>  <label className="flex items-center gap-2">    <Radio value="invoice" /> Send an invoice  </label>  <label className="flex items-center gap-2">    <Radio value="transfer" disabled /> Bank transfer (unavailable)  </label></RadioGroup>

Props

PropTypeDefaultNotes
RadioGroup.value / defaultValuestring—Controlled or initial selection.
RadioGroup.onValueChange(value) => void—Called when the choice changes.
RadioGroup.disabledboolean—Disables the whole group.
Radio.valuestring—Identifies the option. Required.
Radio.disabledboolean—Disables a single option.