404 With Destination Cards

404 page that recovers the visit with a grid of destination cards, each with an icon, title, description, and hover arrow, followed by a centered row of fallback buttons.

PRO

Error4: 404 With Destination Cards

A 404 page that turns a dead end into navigation: under the centered message sits a grid of destination cards, each with an icon, title, description, and hover arrow, followed by a centered row of fallback buttons.

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

Base UI flavor

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

This installs the block to components/beste/block/error4.tsx, plus the button shadcn/ui primitive it uses for the fallback action row.

Quick start

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

tsx
import { Error4, error4Demo } from "@/components/beste/block/error4";

export default function NotFound() {
  return <Error4 {...error4Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { BookOpen, House, LifeBuoy } from "lucide-react";
import { Error4 } from "@/components/beste/block/error4";

export default function NotFound() {
  return (
    <Error4
      code="404"
      heading="That page is missing"
      description="Pick up where you left off with one of these."
      items={[
        {
          title: "Documentation",
          description: "Setup guides, API reference, and recipes",
          href: "/docs",
          icon: BookOpen,
        },
        {
          title: "Help center",
          description: "Answers to the questions we get most",
          href: "/help",
          icon: LifeBuoy,
        },
      ]}
      buttons={[{ label: "Back to home", href: "/", icon: House }]}
    />
  );
}

Props

PropTypeDefaultDescription
codestringSmall uppercase status label above the heading
headingstringMain page heading, rendered as an h1
descriptionstringExplanatory paragraph under the heading
itemsDestinationCard[][]Cards in the destination grid
buttonsActionButton[][]Centered fallback action row below the grid
classNamestringExtra classes for the outer <section>
ts
type DestinationCard = {
  title: string;
  description?: string;
  href: string;
  icon?: LucideIcon;
};

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

Behavior notes

More Error blocks

View all Error
FREE

error7

404 Notice Card

Compact bordered 404 card with a circular icon, status label, heading, one-line explanation, and stacked full-width buttons. Sized for app shells and modals as well as full pages.

PRO

error5

404 Support Panel

Card-style 404 panel that echoes the requested URL in monospace, pairs a browser-history back button with link actions, and closes with a support and status link row.

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.

FREE

error2

404 With Site Search

Search-first 404 page: a controlled search field with a submit handler, plus a bordered list of suggested pages with titles, descriptions, and hover arrows.

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

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.