About
A 404 "page not found" layout styled as an editorial correction sheet, with a masthead, margin annotation, an interrupted text column, and a numbered list of recovery links.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Errata 404 to your project and fits it to your theme.
Code
How Errata 404 is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import Errata404 from "@/components/ui/errata-404";
export default function Demo() {
return (
<div
style={{ display: "contents" }}
onClick={(event) => {
if ((event.target as Element).closest("a")) event.preventDefault();
}}
onAuxClick={(event) => {
if ((event.target as Element).closest("a")) event.preventDefault();
}}
>
<Errata404
home={{ label: "Home", href: "#demo-home" }}
destinations={[
{ label: "Collection", href: "#demo-collection" },
{ label: "Workshop", href: "#demo-workshop" },
]}
/>
</div>
);
}








