PolyHunter

Topnav

Shared 72px chrome bar for app headers: surface-chrome background, subtle bottom border, 32px side padding. Three slots — left, center (horizontally centered), right — on a 1fr/auto/1fr grid so the center stays centered whatever the sides hold. Responsive behavior of each slot is the consumer's job (see GlobalTopnav for a full composition).

Playground

Live preview

All slots

Examples

Left and right only — center empty

Center only

Usage

import { Topnav } from "@npolyhunter/ui";

// Owns only the chrome — slots are yours
<Topnav
  left={<MyRoleSwitcher />}
  center={<Breadcrumb items={items} />}
  right={<MissionReward amount={250} size="compact" />}
/>

Used in

Includes use through shared UI components.

AppBack Office