Retired Page Record
A monochrome page for content that was intentionally removed, not lost: a headline, a ruled record of when the page was Published, Retired, and Why, then a pill link to the replacement page beside a text link to an archived copy.
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/retired-page-record.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/error/error33.tsx instead.
Usage
The file also exports error33Demo, 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 { Error33, error33Demo } from "@/components/blocks/error/error33"; export default function Page() { return <Error33 {...error33Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Page retired" | Small uppercase label above the headline. |
| heading | string | "This page is no longer available" | Main headline. |
| description | string | none | Short supporting copy under the headline. |
| publishedDate | string | "March 4, 2023" | Value for the Published row. |
| retiredDate | string | "June 12, 2026" | Value for the Retired row. |
| reason | string | "Content was consolidated into a single, up-to-date guide." | Value for the Why row. |
| replacementLabel | string | "View the current guide" | Label for the pill link to the replacement page. |
| replacementHref | string | "/docs/guide" | Link target for the replacement page. |
| archiveLabel | string | "View archived copy" | Label for the archive link. |
| archiveHref | string | "/archive" | Link target for the archived copy. |
| className | string | none | Extra classes for the outer section element. |
Behavior notes
- This is a fully static server component; the Published/Retired/Why record is plain text (a definition list), not fetched from any real content-history system.
- Both the replacement pill and the archive link render as real Next.js Links via the button's render prop, pointing wherever `replacementHref`/`archiveHref` say.
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.