DurableDashboard.Components.Layout.Topbar (DurableDashboard v0.1.0-rc)

Copy Markdown View Source

Top bar — breadcrumb (left) + command cluster (right).

The right cluster is the console's toolbar: the ⌘K Jump to… trigger, then a hairline-divided meta group carrying the running version, a GitHub link, and the theme toggle. The trigger keeps a bordered surface (it's the primary action); the meta controls are ghost (icon-only, no border) so the trigger reads as the one thing to reach for.

Stateless. Both interactive controls dispatch a custom DOM event handled by global JS in the root layout (durable:open-palette, durable:toggle-theme).

Summary

Functions

topbar(assigns)

Attributes

  • crumbs (:list) - Defaults to [].
  • class (:string) - Defaults to nil.