RadioGroup

The RadioGroup component is a controlled component input field that handles a group of Radio buttons.

API Reference

Prop
Type
Default
Description
children
React.ReactNode
data-test
string
description
string
direction
BoxProps['direction'] | string
column
disabled
boolean
errorMessage
string
id
string
isValid
boolean
true
legend
string
name
string
onChange
React.ChangeEventHandler<HTMLInputElement>
space
BoxProps['space']
1.5
value
string | null

Examples

Disabled

Row

With dynamic description

With error message

With dynamic description