Skip to main content

Radio

A radio button allows the user to select one option from a set.

Import

Radio.Root

Represents the radio button itself.

Props

State

  • checked: boolean - Whether the radio button is currently selected
  • disabled: boolean - Whether the component should ignore user interaction
  • readOnly: boolean - Whether the user should be unable to select the radio button
  • required: boolean - Whether the user must choose a value before submitting a form

Radio.Indicator

Visual indicator for the selected state.

Props