Skip to main content
Chip
@coinbase/cds-web@9.0.2
A compact content element for tags, filters, and selections.
import { Chip } from '@coinbase/cds-web/chips/Chip'

Basics​

Render a Chip with text. Without onClick, it displays as a static pill. With onClick, it becomes a button. Use disabled to prevent interaction on an otherwise interactive chip.

Loading...

Icons and Images​

Loading...

Styling​

Color​

Use invertColorScheme to invert foreground and background for emphasis.

Loading...

Compact​

Use compact for smaller chips with reduced padding.

Loading...

Accessibility​

When using onClick, provide an accessibilityLabel for screen readers, especially when the label text alone is ambiguous or when the chip has non-text content.

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.