Search documentation

Find a component or a docs page

Radio Button

A set of checkable buttons, known as radio buttons, where no more than one can be checked at a time.

Usage

Example

Radios with the same name: form one group. RadioGroup adds role="radiogroup"; name it with aria: {label:} or aria: {labelledby:}.

Disabled

Invalid

Required

required: on each radio makes the browser ask for one of them. FormField shows the message and marks the radios invalid.

Installation

Components

ComponentBuilt usingSource
RadioButtonPhlex
RadioButtonDocsPhlex
RadioGroupPhlex