Server Error Record

Monochrome server-error page: a parenthetical eyebrow over a display headline, a retry pill beside a status link, and a ruled two-column record of the reference, timestamp, subsystem and state.

PRO

Error21: Server Error Record

A monochrome server-error page: a display headline and a retry pill up top, then a ruled two-column record of the reference, timestamp, subsystem and state, so a support reply can quote something precise.

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.

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/error21?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

This installs the block to components/beste/block/error21.tsx, plus the two design-system primitives it renders through: badge7 for the parenthetical eyebrow and button12 for the retry pill.

Quick start

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

tsx
import { Error21, error21Demo } from "@/components/beste/block/error21";

export default function ErrorPage() {
  return <Error21 {...error21Demo} />;
}

In a Next.js error.tsx the retry pill maps directly onto reset():

tsx
"use client";

import { Error21 } from "@/components/beste/block/error21";

export default function ErrorPage({ reset }: { reset: () => void }) {
  return (
    <Error21
      badge={{ label: "500" }}
      heading="Something on our side <strong>gave way</strong>."
      description="This one is ours, not yours. The request has been recorded with the reference below."
      labels={{ retry: "Try that again", detailsTitle: "For the record" }}
      details={[
        { title: "Reference", value: "ERR-4C19-7B02" },
        { title: "State", value: "Being worked on" },
      ]}
      link={{ label: "Read the status page", href: "/status" }}
      onRetry={reset}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string }Parenthetical eyebrow above the headline
headingstringHeadline HTML, rendered as an h1; <strong> marks the muted clause
descriptionstringExplanatory paragraph under the headline
labelsError21Labels{}Retry pill text and the eyebrow above the record
detailsDetailRow[][]Rows of the incident record
linkActionLinkText link beside the retry pill
onRetry() => voidClick handler for the retry pill
classNamestringExtra classes for the outer <section>
ts
type Error21Labels = {
  retry?: string;
  detailsTitle?: string;
};

type DetailRow = {
  title: string;
  value: string;
};

type ActionLink = {
  label: string;
  href: string;
};

Behavior notes

More Error blocks

View all Error
PRO

error15

500 Incident Report

Server error page with a square eyebrow and status code over a hairline rule, a bold accent headline, a bordered incident table of reference, timestamp and service rows, and a retry seal button beside a status page link.

PRO

error20

Editorial 404 With Portrait Image

Two-column 404 in a quiet monochrome language: a parenthetical eyebrow, a two-line display headline, a pill call to action and an oversized report-the-link email on the left, a tall captioned photograph on the right.

PRO

error22

Planned Downtime Window

Monochrome maintenance page: a parenthetical eyebrow over a display headline, the downtime window as a ruled three-column record, and a rounded notify-me field with a confirmed state.

PRO

error19

Typographic 404 Index

Monochrome 404 built on oversized display type: a parenthetical eyebrow, a display headline with a muted emphasis clause, a pill call to action, and a ruled index of every section on the site.

PRO

error33

Retired Page Record

Monochrome page for deliberately removed content: a display headline, a ruled record of when it was published, retired and why, then a pill link to the replacement beside an archive link.

PRO

error32

404 With Recent Writing

Monochrome 404 for a renamed article: a display headline and pill call to action above three recent entries, each a full-colour image tile with a plain date line and a bold title.