Skip to content

Radio button

Use radio buttons when the user can choose a single option from a list of mutually exclusive choices. Only one radio button can be selected at a time. By default, one radio button is preselected. When the user selects another option, the previous selection is automatically deselected.

Values from @sbks/ds-radio@4.1.15
PartPropertyToken
CircleBackground when selected--color-button-primary
CircleBorder on hover--color-border-info-emphasis
CircleBorder on hover when selected--color-border-info-emphasis
DotColor--color-layer-level-1
Circle with errorBackground when selected--color-layer-danger
Circle with errorBorder--color-border-danger-emphasis
Circle with errorBorder on hover--color-border-focus-form
Circle with errorBorder on hover when selected--color-border-danger-emphasis
Dot with errorColor--color-on-layer-danger