Skip to main content
SelectChip (Alpha)
@coinbase/cds-web@8.52.2
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.3.1
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.

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

Compact

Loading...

Inverted

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.