404 With Popular Articles

Blog 404 that turns a dead post URL into reading: centered messaging above a three-up article grid with cover images, category badges, dates, and read times.

PRO

A blog 404 that turns a dead post URL into reading: centred messaging above a three-up article grid with cover images, category badges, dates and read times, closing with a browse-everything button.

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

Base UI flavor

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

This installs the block to components/beste/block/error12.tsx, plus the badge and button shadcn/ui primitives it uses for the category chips and the closing action.

Quick start

The installed file exports error12Demo alongside the block: the exact props behind the preview above. Spread it to get a working blog 404 in one line.

tsx
import { Error12, error12Demo } from "@/components/beste/block/error12";

export default function NotFound() {
  return <Error12 {...error12Demo} />;
}

Then pass your own posts. Every field except title, href and image is optional:

tsx
import { ArrowRight } from "lucide-react";
import { Error12 } from "@/components/beste/block/error12";

export default function NotFound() {
  return (
    <Error12
      code="404"
      heading="This article is not here"
      description="The post you followed was unpublished or its address changed."
      articlesLabel="Most read this week"
      articles={[
        {
          title: "Shipping a design system without a design team",
          category: "Engineering",
          date: "Jul 18, 2026",
          readTime: "6 min read",
          href: "/blog/design-system",
          image: { src: "/images/design-system.jpg", alt: "Code on a laptop screen" },
        },
        {
          title: "What we learned rebuilding onboarding twice",
          category: "Product",
          date: "Jul 11, 2026",
          href: "/blog/onboarding",
          image: { src: "/images/onboarding.jpg", alt: "Analytics dashboard" },
        },
      ]}
      buttons={[{ label: "Browse all posts", href: "/blog", icon: ArrowRight }]}
    />
  );
}

Props

PropTypeDefaultDescription
codestringSmall uppercase status label above the heading
headingstringMain page heading, rendered as an h1
descriptionstringExplanatory paragraph under the heading
articlesLabelstringCaption above the article grid
articlesArticleItem[][]Posts shown in the grid
buttonsActionButton[][]Centred action row below the grid
classNamestringExtra classes for the outer <section>
ts
type ArticleItem = {
  title: string;
  category?: string;
  date?: string;
  readTime?: string;
  href: string;
  image: { src: string; alt: string };
};

type ActionButton = {
  label: string;
  href: string;
  variant?: "default" | "outline" | "secondary" | "ghost";
  icon?: LucideIcon;
};

Behavior notes

More Error blocks

View all Error
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

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.

PRO

error11

404 With Product Recommendations

Store 404 for dead product URLs: the message and shopping buttons sit above a four-up product grid with square imagery, prices, and optional strikethrough compare-at prices.

PRO

error13

404 With Site Directory

404 page that doubles as a sitemap: left-aligned messaging over four columns of grouped section links, so visitors on a large site can jump straight to the area they wanted.

PRO

error14

Editorial 404 Section Index

Editorial 404 with a square eyebrow and status code over a hairline rule, an oversized accent-highlighted headline, and a ruled index of the sections visitors reach for next.

PRO

error24

404 With Featured Work

Studio 404 that recovers a dead project URL: a square eyebrow and status code over a hairline rule, an accent headline and seal button, then two large project cards with category lines and hover arrow chips.