TopNav
Sticky top navigation. Tabs in the middle, optional CTAs on the right.
Source↗
Usage
import { TopNav, type TopNavTab } from '@ambientintel/ui';
const TABS: TopNavTab[] = [
{ href: '/', label: 'Overview' },
{ href: '/eng', label: 'Engineering Center' },
{ href: '/onboarding/engineering', label: 'Onboarding' },
];
<TopNav
tabs={TABS}
activeHref="/eng"
rightSlot={<SignInButton />}
/>When to use
Every page that lives under a tabbed surface. The eng., lab., and design. subdomains all use it. tabs are per-app (different subdomains have different tab sets) — keep the array in apps/<name>/src/lib/.