Design system / Organisms
Organism / Navigation and discovery
TopNav
TopNav combines branding, destinations, optional breadcrumbs and an action slot across desktop and mobile navigation.
Intent and composition
The header composes breadcrumb and dropdown-menu contracts. Desktop shows destination links or groups; mobile uses a menu. With navigationPlacement=besideBrand, destinations sit beside the brand and the account stays right-aligned. A lone destination remains visible on mobile. Multiple destinations use the mobile menu. The caller supplies items and current-page flags. TopNav does not derive selection from the URL or load identity.
Coordinated concerns: Brand, desktop/mobile destinations, dropdown groups, breadcrumbs and a right-hand slot.
Receives items, slots and controlled selection; Radix owns menu disclosure and focus. A local header reference keeps destination-menu portals within their theme owner. PublicNavigation binds URL selection; shell instances bind identity and destinations. ConsoleShell uses TopNav for basic, focused and all authorized Catalogue views, and SidebarNav for the remaining advanced workspace.
Real component specimen
Real navigation with fictional identity, the existing Ocean tenant palette and local specimen anchors. Open the mobile menu, destination group or account menu; no sign-in or tenant route is invoked. All menu portals stay inside their theme owner through local element references. Radix owns disclosure, Escape and focus restoration.
Real component, fictional data. Interactive callbacks remain local.
Supported inputs and ownership
| Input | Responsibility |
|---|---|
| brand / rightSlot | Caller-owned identity and action slots. |
| items | Links/groups with optional controlled current-page selection. |
| breadcrumbs | Optional hierarchy supplied by the shell. |
| navigationPlacement | end by default; besideBrand puts links beside the brand and keeps a lone destination visible at every width. ConsoleShell selects besideBrand for basic/focused routes and Catalogue for every authorized role. |
This is an integration summary, not a replacement for the implementation's complete prop types. A disabled control or hidden destination does not enforce permission.
Using it in a page
Integrate the section through its supported props and context requirements. Routes supply permitted data; instances bind product copy and behavior; templates arrange slots. Keep feature hooks and operations with their feature owner. Generic layouts must not load business data or enforce product policy.
Related page assemblies: Tenant homepage; Public documentation and brochure-like content.