Documentation page header
Breadcrumb, title, stability badge, summary and a metadata rule carrying version and reading time.
Live preview
Source
This exact file renders the preview above.
components/blocks/headers/documentation.tsx
components/ui/breadcrumb.tsx
components/ui/badge.tsx
Demo source — adapt to your project. Foundry is not published as a package.
Usage
The metadata line is what turns a documentation page from "a page" into "a page whose age you can judge". Without it, readers cannot tell whether they are looking at current guidance.
- Stability badges should reflect a real policy; a badge that always says Stable says nothing.
- Keep the edit link visible — it is the cheapest documentation improvement mechanism there is.
Variants and states
Every entry below is a genuine difference in behaviour or layout, and every one of them is visible in the preview above.
- Stability badge
- Version and reading time
- Suggest-an-edit link
Accessibility
- Breadcrumb
- A labelled `<nav>` with `aria-current` on the final crumb.
- Metadata
- Icons are decorative; every value is also present as text.
Foundry implements published ARIA patterns and is tested against them. No WCAG certification is claimed — see the accessibility documentation for what is and is not covered.
Related
All navigationDocumentation shell
Header, search and a collapsible section tree that becomes an in-flow outline on mobile.
intermediateFeatured3 variantsDocumentation footer
Previous/next cards with rel hints, plus edit and report links.
starter3 variantsDocumentation starter
A developer documentation site with six article routes, a guide index, an API reference and a working search page.
intermediateFeatured4 variants