Skip to main content
Radio
@coinbase/cds-web@9.28.0
Radio is a control component that allows users to select one option from a set of mutually exclusive options.
import { Radio } from '@coinbase/cds-web/controls/Radio'
Peer dependencies
  • framer-motion: ^10.18.0

Basic Usage​

Radio components are typically used individually as part of a radio group. Each radio represents a single option in a mutually exclusive set.

Loading...

Radio Groups​

The recommended way to use Radio components is with a ControlGroup for better accessibility and easier state management.

Loading...

Custom Colors​

You can customize the radio's color using the controlColor prop.

Loading...

Disabled State​

Radio components can be disabled to prevent user interaction.

Loading...

Custom Styling​

You can further customize the radio's appearance using style props.

Loading...

Is this page useful?

Coinbase Design is an open-source, adaptable system of guidelines, components, and tools that aid the best practices of user interface design for crypto products.