Velocity X Components

Standard Navigation

Back Navigation Header

Header for a drill-down screen: a real back link to the parent (not a history hack), the page title and optional subtitle, and an overflow menu for secondary actions that don't need a permanent button.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add standard-back-navigation-header

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Full docs for Back Navigation Header →

Needs a licence key — subscribe here, then velocityx loginonce.

react v1.0.1 react
Back Navigation Header

Invoice #1042

Due Nov 3 · Rebuild Relief client

Props

NameTypeRequiredDefaultDescription
titlestringYes
subtitlestringYes
backLabelstringNo'Back'
backHrefstringYesrenders an <a>
onBack() => voidYesused if no backHref
actionsReactNodeNonullrendered before the overflow trigger
menuItems{ label: string, onSelect: () => void, destructive?: boolean }[]No[]
classNamestringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/standard-back-navigation-header/BackNavigationHeader.jsx

Using the Back Navigation Header component

Install it with velocityx add standard-back-navigation-header. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Standard Navigation.