Navigation

Docs Navbar

Brand, version, search and section tabs over a breadcrumb trail, with a reading-progress line.

What moves

A hairline under the header fills as you read, driven by a CSS scroll timeline — no scroll listener. Browsers without one, and reduced motion, show no line at all.

Built from

Install with the CLI

Not on npm yet: volt composition needs @voltui/cli 1.4.0 or later. The latest version on npm when this page was built was 1.3.3.
Stable id blocks/navbar-docs. One command writes every file below and, in CLI-copy mode, the components it imports; components you customised are kept as they are.
npx @voltui/cli composition add blocks/navbar-docs --mode=package
Mode package · backend ng-primitives · needs @voltui/cli 1.4.0 or later.Files go to src/app/<folder>/ and copied components to src/app/ui/; choose others with --path and --ui. Add --dry-run to see every file first.Add --track to record what was installed; later, volt composition diff blocks/navbar-docs shows what you or the reference changed without touching your files.

Block source

Install via CLI:pnpm add @voltui/components lumen-icons
TypeScript
Loading editor…

One standalone component. Paste it into your project, point the imports at your Volt path, and wire the buttons to your own routes.

Every animation here is guarded by prefers-reduced-motion, and the colours come from theme tokens — try a different preset with the switcher in the header and the block follows.