Skip to main content

RadioGroup

The RadioGroup component allows users to select exactly one option from a set.

Usage

Props

array
required
Array of options { label: string, value: string }.
string
required
Field name grouping the radios.
string
Initially selected value.
string
default:"vertical"
Layout direction: vertical or horizontal.

Examples

Horizontal Options