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

Error11: 404 With Product Recommendations

A store 404 for dead product URLs: the apology and the shopping actions sit above a four-up grid of square product cards, each with a price and an optional strikethrough compare-at price.

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

Base UI flavor

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

This installs the block to components/beste/block/error11.tsx, plus the button shadcn/ui primitive it uses for the shopping actions.

Quick start

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

tsx
import { Error11, error11Demo } from "@/components/beste/block/error11";

export default function NotFound() {
  return <Error11 {...error11Demo} />;
}

Then feed it your own recommendations. Prices are plain strings, so currency and formatting stay under your control:

tsx
import { ShoppingBag } from "lucide-react";
import { Error11 } from "@/components/beste/block/error11";

export default function NotFound() {
  return (
    <Error11
      code="404"
      heading="This product is no longer available"
      description="The item you were looking for is sold out or has been retired."
      buttons={[{ label: "Continue shopping", href: "/shop", icon: ShoppingBag }]}
      productsLabel="Popular right now"
      products={[
        {
          title: "Everyday Canvas Tote",
          price: "$48",
          href: "/products/canvas-tote",
          image: { src: "/images/tote.jpg", alt: "Canvas tote bag" },
        },
        {
          title: "Merino Crew Knit",
          price: "$96",
          originalPrice: "$120",
          href: "/products/merino-crew",
          image: { src: "/images/knit.jpg", alt: "Folded knit sweater" },
        },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
codestringSmall uppercase status label above the heading
headingstringMain page heading, rendered as an h1
descriptionstringExplanatory paragraph under the heading
buttonsActionButton[][]Centred shopping actions under the description
productsLabelstringCaption above the product grid
productsProductItem[][]Recommended products
classNamestringExtra classes for the outer <section>
ts
type ProductItem = {
  title: string;
  price: string;
  originalPrice?: 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
PRO

error12

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

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.

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.

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.

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.