Components
RadioGroup

RadioGroup

A group of Radios includes five options at most and only one can be selected at a time. Options can be listed horizontally or vertically.

<RadioGroup label="Radio group">
  <Radio value="1">Option 1</Radio>
  <Radio value="2">Option 2</Radio>
  <Radio value="3">Option 3</Radio>
</RadioGroup>

Required props

label

Radio group label

type
React.ReactNode
default
null

Optional props

error

Whether the radio group is in an error state

type
boolean
default
null

description

Radio group description

type
string
default
null

errorText

Radio group error message

type
string
default
null

horizontal

Whether the radio group is horizontal or vertical

type
boolean
default
false

state

Radio group state

type
RadioStore
default
null

Related components