Editorial Not Found Split
A calm, editorial not-found page: an error eyebrow, an oversized light-weight headline, and recovery action buttons on the left, beside a hairline-divided list of destinations people usually need instead on the right.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/editorial-not-found-split.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/error/error34.tsx instead.
Usage
The file also exports error34Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Error34, error34Demo } from "@/components/blocks/error/error34"; export default function Page() { return <Error34 {...error34Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "404 error" | Small uppercase label above the headline. |
| heading | string | "We can't find that page" | Oversized light-weight headline. |
| description | string | none | Short supporting copy under the headline. |
| primaryLabel | string | "Back to homepage" | Label for the primary recovery button. |
| primaryHref | string | "/" | Link target for the primary recovery button. |
| secondaryLabel | string | "Contact support" | Label for the secondary recovery button. |
| secondaryHref | string | "/support" | Link target for the secondary recovery button. |
| destinationsHeading | string | "Where people usually go instead" | Small heading above the destinations column. |
| destinations | Destination[] | none | Likely destinations listed in the right column. |
| className | string | none | Extra classes for the outer section element. |
Types
type Destination = { label: string; description?: string; href: string };
Behavior notes
- This is a fully static server component; both recovery buttons and every destination row render as real Next.js Links via `href`, but nothing is fetched, ranked, or tracked live.
More Error Blocks
View all →centered-404-message
Centered 404 Message
Minimal centered 404 with two CTAs and a divided row of popular page links.
404-with-site-search
404 With Site Search
404 screen with a working search box and a bordered list of suggested pages.
split-404-with-image
Split 404 With Image
Two-column 404 with the message on one side and a full-bleed photo that scales on hover on the other.
404-with-destination-cards
404 With Destination Cards
404 screen with a grid of icon destination cards plus fallback CTA buttons.
404-support-panel
404 Support Panel
Card-style 404 echoing the requested URL, with a real back button and a support/status link row.
inline-404-line
Inline 404 Line
The smallest possible 404: code and message on one divided line with one button underneath.