Basic group

<Stack gap="sm">
  <Radio label="React" name="framework" value="react" />
  <Radio label="Vue" name="framework" value="vue" />
  <Radio label="Davaux" name="framework" value="davaux" checked />
</Stack>

With description and error

This is the first option with a description.

This option is not available.

<Radio
  label="Option A"
  description="This is the first option."
  name="group"
  value="a"
/>
<Radio
  label="Option B"
  error="This option is not available."
  name="group"
  value="b"
/>

States

<Radio label="Default" name="states" value="default" />
<Radio label="Checked" name="states" value="checked" checked />
<Radio label="Disabled" name="states" value="disabled" disabled />

Sizes and colors

<Radio size="xs" label="xs" name="sizes" value="xs" />
<Radio size="md" label="md" name="sizes" value="md" checked color="green" />
<Radio size="xl" label="xl" name="sizes" value="xl" color="violet" />

Props

PropTypeDefaultDescription
idstringAssociates label with radio via HTML for/id
labelReactNodeClickable label beside the radio button
descriptionReactNodeHelper text below the label
errorReactNode|booleanError message; pass true for styles only
checkedbooleanSelected state (SSR snapshot)
disabledbooleanDisables the radio button
requiredbooleanMarks the field as required
size'xs'|'sm'|'md'|'lg'|'xl'Radio button size
colorstringFill color of the selected radio button
iconColorstringColor of the dot inside the selected radio
labelPosition'right'|'left''right'Side on which the label is rendered
namestringGroups radio buttons into a single-choice set
valuestringValue submitted when selected
classstringAdditional CSS class names
styleobjectInline styles