Skip to content

No.280 · Feedback· New

Quiet Return 404

A useful pause: a small status, a plain explanation, and one unmistakable way home. Nothing asks for attention twice.

The prompt

Copy this text

Automatic copying is unavailable. Copy the selected text using your device’s copy command.

The design brief behind this component — reuse it to regenerate, remix, or explain it.

Build an extremely restrained 404 on off-white (#f5f5f0), using dark olive Geist typography. Centre a narrow content column within generous space. Start with a tiny dot and mono 404 / NOT FOUND status; follow with a medium-weight, tightly spaced heading and a short description at comfortable line height. Provide a small dark home anchor with a northeast arrow and optional secondary destination links beneath it. A discreet bottom annotation reads A SMALL DETOUR. Keep every action a real anchor with an independent visible focus outline. No illustration, loading state, ambient motion or artificial delay. On narrow screens keep the same hierarchy, allow text to wrap naturally, and provide enough padding for short viewports. Reduced motion uses the identical static composition. Expose title, description, home link, destinations and className, without importing a framework router. Implementation requirements: Use React and TypeScript. Keep the component self-contained, with uniquely scoped CSS and no animation libraries. Include required imports, styles and font setup in the result. Interaction: In Vitrine and the usage example, activating a recovery link is simulated locally and never changes page. In a consumer application, caller-supplied anchors remain usable. Use a primary home anchor or optional secondary destinations. Motion: No animation or transition. Accessibility: Semantic headings and native links/buttons, visible focus, decorative geometry hidden from assistive technology. Independent instances; honour reduced motion. Responsive behavior: Fluid layout and wrapping text at 320px through desktop. Page compositions stack intentionally on narrow screens; recovery links remain visible. Touch: Normal taps activate all actions. Pointer-only decoration is optional and fixed on touch. Preserve keyboard access, visible focus and reduced-motion behavior. Keep fictional demo data and simulated service calls in a separate usage example; expose callbacks for real actions and recover from rejected requests. Keep usage-example links inside the demo: use local buttons or prevent navigation. Demonstration links must not navigate to Vitrine routes or open other pages; preserve real URL support in the reusable component itself. Verify the result at narrow and wide viewport sizes, with keyboard input and reduced motion enabled.

Notes

Interaction
In Vitrine and the usage example, activating a recovery link is simulated locally and never changes page. In a consumer application, caller-supplied anchors remain usable. Use a primary home anchor or optional secondary destinations.
Motion
No animation or transition.
Accessibility
Semantic headings and native links/buttons, visible focus, decorative geometry hidden from assistive technology. Independent instances; honour reduced motion.
Responsive
Fluid layout and wrapping text at 320px through desktop. Page compositions stack intentionally on narrow screens; recovery links remain visible.
On touch
Normal taps activate all actions. Pointer-only decoration is optional and fixed on touch.

Featured

310 components