Calm 404

404

Thispagehasgoneforawalk.

It may have moved, or it may never have been here. Either way, the rooms are exactly where they were.

About this block

Calm 404PRO

A full-height not-found page: a faint oversized serif code, a serif heading that settles in word by word, a gentle explanation, a sliding-marker pill home and a row of small-caps links to the useful places.

Error39: Calm 404

A calm 404: an oversized ghosted code, an apology that settles in word by word, a pill back to the front door, and a short row of small-caps links to the places people were probably looking for.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Upgrade Now

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/error39?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/error39?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/error39.tsx plus the button22 sliding-marker pill and the text1 word stagger it uses.

Quick start

The installed file exports error39Demo alongside the block: the exact props behind the preview above. Spread it to get a working error page in one line.

tsx
import { Error39, error39Demo } from "@/components/beste/block/error39";

export default function Page() {
  return <Error39 {...error39Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Error39 } from "@/components/beste/block/error39";

export default function Page() {
  return (
    <Error39
      code="404"
      heading="This page has gone for a walk."
      description="It may have moved, or it may never have been here."
      button={{ label: "Back to the front door", href: "/", tone: "dark" }}
      links={[
        { label: "Book a first session", href: "/book" },
        { label: "Read the journal", href: "/journal" },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
codestringThe status code, set oversized and ghosted
headingstringThe message, rendered as the page h1 through Text1
descriptionstringExplanation under the heading
buttonActionButtonPill back to the home page
links{ label: string; href: string }[][]Small-caps shortcuts under the button
classNamestringExtra classes for the outer <section>
ts
type ActionButton = {
  label: string;
  href: string;
  tone?: "primary" | "light" | "dark" | "outline";
};

Behavior notes

  • Everything runs on animate with trigger="mount" rather than on scroll. An error page is one screen tall by definition, so waiting for a scroll into view would leave most of it invisible.
  • code is a free string, not a number, so "404", "500" or "Not found" all render the same way with no parsing.
  • It is set at text-foreground/20, so the code reads as a watermark behind the message rather than as the headline; the h1 is the sentence, which is what a screen reader should announce first.
  • The copy waits on 0.5 + heading.split(" ").length * 0.07, matching the word stagger, so the explanation lands as the last word of the message settles.
  • The shortcut links wrap with separate row and column gaps, so a long list breaks into tidy lines on a phone instead of one cramped row.
  • Their arrows lift only under motion-safe:, so the affordance is dropped for reduced motion while the links keep working.
  • The section is min-h-svh and centres its content on both axes, so it fills the viewport whether or not your layout wraps it in a header and footer.

More Error blocks

View all Error
FREE

error35

Server Error With Live Status

A calm server-error page with a monospace code, an oversized light heading, recovery actions, an image tile floating a live uptime strip, and a hairline table carrying the incident reference.

PRO

error29

Oversized Numeral 404

Monochrome 404 led by the status code set as an oversized numeral, with the statement and pill call to action on one side of a hairline rule and the explanation plus display-type links on the other.

FREE

error6

Inline 404 Line

The smallest possible 404: the status code and the message sit on one line separated by a vertical rule, stacking on mobile, with a single outline button underneath.

FREE

error1

Centered 404 Message

Minimal centered 404 page with a large error code, a heading, a short explanation, two call-to-action buttons, and a divided row of popular page links underneath.

PRO

error10

Fullscreen 404 With Background

Screen-height 404 with a full-bleed background photo under a dark overlay, centered white messaging, and a solid plus outline button pair sized for marketing sites.

FREE

error34

Editorial Not Found Split

A calm not-found page with an error eyebrow, an oversized light heading and recovery actions on the left, beside a hairline list of the destinations people usually need instead.