10.12.0

Radio

Radio is a control that allows the user to only choose one predefined option.

Default




Custom




With Error


Error shows that the radio option must be selected or is invalid (ie when used in a form it signals a user to fix an error).

With Options


Alignment



Things to Avoid

Try to avoid using if you have nested options.


Available Props

  • classname
  • dark
  • margin
  • margin_bottom
  • margin_left
  • margin_right
  • margin_top
  • margin_x
  • margin_y
  • max_width
  • padding
  • padding_bottom
  • padding_left
  • padding_right
  • padding_top
  • padding_x
  • padding_y
  • z_index
  • number_spacing
  • id
  • data
  • aria
  • children
  • alignment
  • checked
  • error
  • input_options
  • name
  • text
  • value