Fullscreen 404 With Background

Screen-height 404 with a full-bleed background photo under a dark overlay, centered white messaging, and a solid plus outline button pair sized for marketing sites.

PRO

Error10: Fullscreen 404 With Background

A screen-height 404 for marketing sites: a full-bleed photograph sits under a dark overlay with the message centred in white on top, closing with a solid button and a bordered ghost 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/error10?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

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

Quick start

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

tsx
import { Error10, error10Demo } from "@/components/beste/block/error10";

export default function NotFound() {
  return <Error10 {...error10Demo} />;
}

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

tsx
import { House } from "lucide-react";
import { Error10 } from "@/components/beste/block/error10";

export default function NotFound() {
  return (
    <Error10
      code="Error 404"
      heading="You have wandered off the map"
      description="This address does not lead anywhere."
      buttons={[
        { label: "Back to home", href: "/", icon: House },
        { label: "Browse the site", href: "/blog", variant: "outline" },
      ]}
      image={{
        src: "https://images.unsplash.com/photo-1539412060677-d70658ece18d?w=1920&h=1280&fit=crop",
        alt: "Empty desk with a laptop in dim light",
      }}
    />
  );
}

Props

PropTypeDefaultDescription
codestringSmall uppercase status label above the heading
headingstringMain page heading, rendered as an h1
descriptionstringExplanatory paragraph under the heading
buttonsActionButton[][]Centred action pair below the description
image{ src: string; alt: string }Background photograph behind the overlay
classNamestringExtra classes for the outer <section>
ts
type ActionButton = {
  label: string;
  href: string;
  variant?: "default" | "outline";
  icon?: LucideIcon;
};

Behavior notes

More Error blocks

View all Error
PRO

error3

Split 404 With Image

Two-column 404 page with the error code, heading, explanation, buttons, and a small note on one side, and a full-bleed image that scales on hover on the other. The image side can be flipped with a prop.

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

error20

Editorial 404 With Portrait Image

Two-column 404 in a quiet monochrome language: a parenthetical eyebrow, a two-line display headline, a pill call to action and an oversized report-the-link email on the left, a tall captioned photograph on the right.

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

error6

Inline 404 Line

The smallest possible 404: the status code and the message sit on one line separated by a vertical rule, stacking on mobile, with a single outline button underneath.

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.