Skip to content

404 Page

Drops straight into app/not-found.tsx, and keeps the site header and footer — on a 404 the navigation is the most useful thing on screen.

1 blocks62 lineslucide-reactAdded 8 Aug 2026

What's included

  • app/error-404-page.tsx
  • 1 blocks it is built from, installed with it
  • Needs lucide-react

Works with

  • React
  • Next.js
  • Tailwind CSS
  • TypeScript

npx hoverlab add error-404-page

Or over MCP, from your editor's agent — no account needed.

License

Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.

Was this useful?

Preview

We could not find that page

The link may be out of date, or the page may have moved. Here are a few ways forward.

© 2026 Acme IncAll systems operational

The real page, rendered in your current theme — every section below is a live block, not a screenshot.

Built from

All blocks
  1. 404 With Search & SuggestionsA 404 that helps: a real GET search form that works without JavaScript, likely destinations, and home as the fallback rather than the headline.

Only want one section? Open it and copy that block instead — browse Empty & Error States.

Shipped in these templates

Want the whole project rather than this one screen? A template ships every route, the theme tokens and the layout.

Source

app/error-404-page.tsx
/**
 * A 404 screen.
 *
 * Drop this at `app/not-found.tsx` in a Next.js project and it becomes the
 * app's 404 for every unmatched route.
 *
 * Deliberately keeps the site's own header and footer. A 404 that strips
 * the chrome tells the visitor they have left the site, when in fact they
 * are still on it and one click from what they wanted — the navigation is
 * the most useful thing on the page.
 */

import * as React from 'react'
import { NotFound404 } from '@/components/not-found-404'

export default function Error404Page() {
  return (
    <div className="flex min-h-screen flex-col bg-background text-foreground">
      {/* Keep the chrome — the nav is the point. */}
      <header className="border-b border-border/60">
        <div className="mx-auto flex h-16 max-w-7xl items-center justify-between px-6">
          <a href="/" className="flex items-center gap-2 font-semibold tracking-tight">
            <span
              aria-hidden
              className="flex h-8 w-8 items-center justify-center rounded-xl bg-primary text-primary-foreground"
            >
              A
            </span>
            Acme Inc
          </a>

          <nav aria-label="Main" className="flex items-center gap-5 text-sm">
            <a href="/docs" className="text-muted-foreground transition-colors hover:text-foreground">
              Docs
            </a>
            <a href="/pricing" className="text-muted-foreground transition-colors hover:text-foreground">
              Pricing
            </a>
            <a
              href="/signup"
              className="rounded-xl bg-primary px-3.5 py-2 text-sm font-semibold text-primary-foreground transition-colors hover:bg-primary/90"
            >
              Get started
            </a>
          </nav>
        </div>
      </header>

      <div className="flex flex-1 items-center justify-center">
        <NotFound404 />
      </div>

      <footer className="border-t border-border/60">
        <div className="mx-auto flex max-w-7xl items-center justify-between px-6 py-5 text-xs text-muted-foreground">
          <span>© 2026 Acme Inc</span>
          <span>All systems operational</span>
        </div>
      </footer>
    </div>
  )
}

How to use it

  1. 1. Copy each of the 1 blocks above into components/ — each block page has its own copy button.
  2. 2. Drop this file at app/error-404-page.tsx. The imports already point at @/components/…, so they resolve with no edits.
  3. 3. Delete the sections you do not want. Every block takes props, so the copy changes without the layout moving.

For AI

The component, its props, the design tokens it expects and the command that installs it — as one prompt. Paste it into Claude, Cursor, v0 or ChatGPT and what they build around it will match the rest of the catalog instead of inventing its own system.

See the prompt

More System Pages

Open the full page for this page

Server Error

Retry first, because a 500 is our failure and offering navigation implies the rest of the site works — which is exactly what is in doubt.

System Pages2 blocks44 lines
Open the full page for this page

Scheduled Maintenance

Planned downtime with an actual end time on it — "back soon" is not a time, and a maintenance page without one looks like an outage nobody has noticed.

System Pages2 blocks35 lines
Open the full page for this page

Permission Denied

A 403 that names who can grant what was refused, because the next question is always "then who can" and a support link is the wrong answer to it.

System Pages2 blocks42 lines
Take 1 of 2
Open the full page for this page

Status Page

Written for the person refreshing it during an outage: current state above the fold, the maintenance window as a real block with an end time, and a component list that names what still works.

System Pages6 blocks155 lines
Take 1 of 2
Open the full page for this page

Legal Document

Terms, privacy, DPA and cookies in one frame — the docs layout, because people arrive at a legal page looking for a specific clause and a wall of text makes that a Ctrl-F expedition.

System Pages3 blocks50 lines
Take 2 of 2
Open the full page for this page

Status Page 02

The status page read during diligence rather than during an outage: ninety days of uptime, the latency curve, and every incident carrying its post-mortem — including the bad one.

System Pages7 blocks237 lines
Take 2 of 2
Open the full page for this page

Legal Document 02

One document with a plain-language column beside each clause, for the reader who cannot name the clause they need — and the cookie control inline, because a banner is unreachable the moment it has been dismissed.

System Pages6 blocks200 lines