Switcher

App/product switcher list — lives inside HeaderPanel, renders links with active indicator and optional dividers

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 })
labelstringSwitch applicationText label for the control.
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