Skip to main content
NavigationTitleSelect
@coinbase/cds-web@8.38.5
A select component styled as a navigation title, allowing users to switch between different views or contexts from the header. It uses a Dropdown to display options.
import { NavigationTitleSelect } from '@coinbase/cds-web/navigation/NavigationTitleSelect'

NavigationTitleSelect wraps a Dropdown to create a context-switching control styled as a navigation title. Use it to let users switch between accounts, portfolios, or other contexts in a header.

Basics

Provide an array of options with label and id fields, a value matching the selected option's id, and an onChange handler.

Loading...

Custom Labels

Option labels can be React nodes for richer content, such as displaying an icon alongside text.

Loading...

Styling

Color

Use color to customize the text and caret icon color. Any valid CDS design token color works.

Loading...

Font

Use font to adjust the typography. The default is title1.

Loading...

Accessibility

Always provide accessibilityLabel to describe the purpose of the select for screen readers. The component manages focus and keyboard navigation through the underlying Dropdown.

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.