ham7a311

Errata 404

Component

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>
  );
}

More by ham7a311

View all
  • Route Globe

    Route Globe

    16
  • Wave Mesh

    Wave Mesh

    10
  • Glass Tiles

    Glass Tiles

    8
  • Glass Carousel

    Glass Carousel

    7
  • Uptime Ribbon

    Uptime Ribbon

    6
  • Wind Map

    Wind Map

    6
  • Streak Field Stats

    Streak Field Stats

    5
  • Time Window

    Time Window

    5