Switcher

Always-visible app/product switcher LIST — every entry is rendered at once, it does not collapse. Lives inside HeaderPanel; renders links with an active indicator and optional dividers. For a collapsed trigger with a menu, use Dropdown.

Category: navigation · WCAG 2.2-AA · navigation, switcher, shell, console, app-switcher

States

Props

PropTypeDefaultDescription
itemsSwitcherEntry[]SwitcherLink ({ label, href, active?, icon? }) or divider ({ divider: true })
ariaLabelstringAlias of `label` — the same invisible accessible name under the catalog spelling. Neither is deprecated.
labelstringSwitch applicationAccessible name for the switcher list. Not rendered — screen readers only.
classNamestringAdditional CSS class names merged onto the root element.

Design tokens

When to use

When not to use

How to build an accessible Switcher in React →

Examples

App switcher

Place inside a HeaderPanel opened by a Grid action in ShellHeader

<Switcher
  items={[
    { label: 'Console', href: '/console', active: true },
    { label: 'Billing', href: '/billing' },
    { divider: true },
    { label: 'Docs', href: 'https://docs.example.com' },
  ]}
/>

Related components

← Back to docs