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.
Custom Labels
Option labels can be React nodes for richer content, such as displaying an icon alongside text.
Styling
Color
Use color to customize the text and caret icon color. Any valid CDS design token color works.
Font
Use font to adjust the typography. The default is title1.
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.