404 section
A missing page that still offers the real top-level destinations.
Live preview
Source
This exact file renders the preview above.
components/blocks/sections/error/not-found.tsx
lib/catalogue/index.ts
Demo source — adapt to your project. Foundry is not published as a package.
Usage
The recovery options are the real top-level destinations read from the catalogue, not a hard-coded list that goes stale.
- State the code plainly; hiding it helps nobody diagnose a broken link.
- Offer search as well as home — the visitor was looking for something specific.
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.
- Status code
- Two recovery actions
- Catalogue links from data
Accessibility
- Single h1
- The 404 page has one heading, and the numeral is a paragraph.
- Derived links
- Destination links come from the catalogue, so they cannot go stale.
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 sections500 section
A server failure with a reference code and a real retry button.
starter3 variantsNo search results
The failed-query state, with the query echoed and the active filters shown.
starterFeatured3 variantsScheduled maintenance
Planned downtime, which should not read like an error.
starter3 variants