404
It may have moved, or it may never have been here. Either way, the rooms are exactly where they were.
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.
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.
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
npx shadcn add "https://ui.beste.co/r/error39?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
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.
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.
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:
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" },
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
code | string | – | The status code, set oversized and ghosted |
heading | string | – | The message, rendered as the page h1 through Text1 |
description | string | – | Explanation under the heading |
button | ActionButton | – | Pill back to the home page |
links | { label: string; href: string }[] | [] | Small-caps shortcuts under the button |
className | string | – | Extra classes for the outer <section> |
type ActionButton = {
label: string;
href: string;
tone?: "primary" | "light" | "dark" | "outline";
};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.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.0.5 + heading.split(" ").length * 0.07, matching the word stagger, so the explanation lands as the last word of the message settles.motion-safe:, so the affordance is dropped for reduced motion while the links keep working.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.error35
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.
error29
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.
error6
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.
error1
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.