Navigation

Editorial Header

Category, title, standfirst and metadata for articles, guides and case studies.

Guide

Designing a navigation that survives a redesign

Navigation outlives pages. Here is how to structure it so that adding a section is a one-line change.

By
Ada Lovelace
Published
Reading time
8 min

What moves

Static by design: the hierarchy is typographic, and the title scales with its container.

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/header-editorial. 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/header-editorial --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/header-editorial shows what you or the reference changed without touching your files.

Block source

Install via CLI:pnpm add @voltui/components
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.