Components › Navigation › App shell › Top bar

Top bar

canon

The application frame bar: workspace switch, global search (⌘K), utilities and account — never changes with the screen.

React implementation lives in the app (AppShell.tsx — TopBar). .as-ai-trigger is a reserved, unused variant — decision A4.

Used in no file in the app (main)

Default

components--top-bar--defaultOpen standalone ↗Code

Variants

workspace switcher — the tile colour says which part of the system you are in (CRM, Datamart, Back office, Účetnictví, Dialer)
another workspace — same bar, different tile and name; nothing else about the bar changes
components--top-bar--variantsOpen standalone ↗Code

States

quiet — nothing is waiting for the user
something is waiting — unread notifications show their count on the bell (from ten on „9+“), an unread assistant reply puts a dot on the assistant
assistant is working — the trigger pulses (.is-busy) so a run started in the panel stays visible after the panel is closed; the pulse stops under prefers-reduced-motion
components--top-bar--statesOpen standalone ↗Code

With icon & kbd

the search carries the shortcut it answers to (⌘K) — the only shortcut chip in the shell; the assistant answers to ⌘J but says so through aria-keyshortcuts, not a chip
the search on its own — icon, placeholder, shortcut; it is a button, not an input (it opens the search palette)
components--top-bar--with-icon-and-kbdOpen standalone ↗Code

Composition

Obsah stránky — the top bar never changes with the screen.
components--top-bar--compositionOpen standalone ↗Code