@objectifthunes/whiteboard
WHITEBOARD DASHBOARD

TopBar

Sticky dashboard header: mono breadcrumb left, quiet TopBarLink actions right. Content scrolls under its blurred backdrop.


PREVIEW
acme / tracks / edit
SOURCE
import { TopBar, TopBarLink, ThemeToggle } from '@objectifthunes/whiteboard'

<TopBar
  crumb="acme / tracks / edit"
  actions={
    <>
      <TopBarLink onClick={openDocs}>docs</TopBarLink>
      <TopBarLink onClick={logOut}>log out</TopBarLink>
      <ThemeToggle theme={theme} onToggle={toggleTheme} />
    </>
  }
/>
NOTES

In a real DashboardShell the bar is position: sticky with a blurred backdrop, so content scrolls under it. The preview clamps it to static.

TopBarLink is a <button>, not an anchor — it takes native button props, so navigation goes through onClick + your router. The crumb slot is mono text; keep it short and lowercase.