Skip to main content
SelectChip (Alpha)
@coinbase/cds-web@9.16.0
A chip-styled Select control built on top of the Alpha Select component. Supports both single and multi selection.
Alpha componentAlpha components are stable and safe to use. They allow us to provide new and powerful features quickly, without forcing breaking changes. Components will exit the alpha status when their deprecated counterpart is removed in the next major version.
import { SelectChip } from '@coinbase/cds-web/alpha/select-chip/SelectChip'
Peer dependencies
  • framer-motion: ^10.18.0,
  • react-dom: ^18.0.0 || ~19.1.2
Related components

SelectChip is a chip-styled control built on top of the Alpha Select. It supports single and multi-selection, option groups, custom start/end nodes, and shares the same classNames and styles API for targeting internal elements (see the Styles tab).

Duplicate Values

Avoid using options with duplicate values. Each option's value should be unique within the options array to ensure proper selection behavior.

Active state

SelectChip uses the same active semantics as Chip: when active is true, the control inverts the color scheme for everything inside the chip borders.

By default, SelectChip sets active to true whenever one or more values are selected and false when the control is empty. You do not need to wire active to value manually. Pass active explicitly to force the emphasized state even when nothing is selected, or set active={false} to keep the chip visually inactive despite a selection.

Basics

Basic usage

Loading...

Single select

With groups

Loading...

With disabled group

Loading...

Multi-select

Basic

Disabled Options and Select All

Disabled options and options inside disabled groups will be skipped when "Select all" is pressed. Only enabled options will be selected.

Loading...

With groups

Loading...

With assets

Loading...

Customization

Sizes

size accepts xs and s. Defaults to s.

Loading...

Start and end nodes

Loading...

Empty state

Loading...

Options with descriptions

Loading...

Display value override

Use the displayValue prop to override the displayed value and avoid truncation, especially in multi-select scenarios where multiple option labels might be too long to display.

Loading...

Max width

Loading...

Disabled state

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.