Not Found With SearchPRO

A not-found page that offers a way forward rather than a way back, pairing an oversized light heading with an image tile floating a live search panel and a two-column hairline list of likely destinations.

A not-found page that offers a way forward rather than a way back, pairing an oversized light heading with an image tile floating a live search panel and a two-column hairline list of likely destinations.

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.

Upgrade Now

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

Base UI flavor

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

This installs the block to components/beste/block/error36.tsx, the search24 results piece it floats on the tile (installed to components/beste/piece/search24.tsx), and the button21 component it uses for the action.

Quick start

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

tsx
import { Error36, error36Demo } from "@/components/beste/block/error36";

export default function NotFound() {
  return <Error36 {...error36Demo} />;
}

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

tsx
import { Error36 } from "@/components/beste/block/error36";
import { Search24 } from "@/components/beste/piece/search24";

export default function NotFound() {
  return (
    <Error36
      code="Error 404"
      heading="This page moved, or it never existed"
      description="Search from here rather than going back and starting again."
      button={{ label: "Back to the workspace", href: "/app" }}
      media={
        <Search24
          query="rowan"
          groupLabel="Members"
          results={[{ title: "Rowan Blake", meta: "Active · Clinic 2", kind: "Member" }]}
          footer="1 of 11 matches shown"
        />
      }
      image={{ src: "/backdrops/blue.jpg", alt: "Soft blue gradient backdrop" }}
      destinationsLabel="Where people usually meant to go"
      destinations={[
        {
          title: "Today's clinic list",
          description: "Everyone arriving today, sorted by time.",
          href: "/app/today",
        },
        { title: "Members", description: "The full directory across every site.", href: "/app/members" },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
codestringSmall status line above the heading
headingstringError heading, rendered as the page h1
descriptionstringCentered supporting paragraph, capped at max-w-xl
button{ label: string; href: string }Single outline action under the copy
mediaReactNodeLive asset on the tile, search24 in the demo
image{ src: string; alt: string }Backdrop behind the media tile
destinationsLabelstringSmall label above the destination list
destinationsDestination[][]Linked hairline rows of likely pages
classNamestringExtra classes for the outer section
ts
type ActionLink = {
  label: string;
  href: string;
};

type Destination = {
  title: string;
  description: string;
  href: string;
};

Behavior notes

More Error blocks

View all Error
PRO

error38

Missing Piece With Archive Search

A not-found page for a publication, offering a search field as the first action and the month's most read pieces underneath, with a line committing to link permanence.

PRO

error30

Search Led 404

Monochrome 404 that hands the visitor a search field: a display headline with a muted emphasis clause, a rounded search bar with a circular submit seal wired to a callback, and a ruled list of the most travelled routes.

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

error4

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

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

error9

404 Did You Mean

Left-aligned 404 for documentation and marketing sites: the requested path is shown struck through in monospace above a did-you-mean box linking to the closest matching page.

Markdown version