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.

FREE

Error7: 404 Notice Card

A compact bordered card holding the whole error state: a circular icon, a status label, the heading, one line of explanation, and full-width stacked buttons. Narrow enough to drop inside an app shell or a dialog as well as on a full page.

Free block

This block is free. No license or account is required: install it with the CLI and use it in unlimited projects.

Installation

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/error7"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/error7"

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

Quick start

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

tsx
import { Error7, error7Demo } from "@/components/beste/block/error7";

export default function NotFound() {
  return <Error7 {...error7Demo} />;
}

The icon is a Lucide component passed as a prop, so any icon works:

tsx
import { FileQuestion } from "lucide-react";
import { Error7 } from "@/components/beste/block/error7";

export default function NotFound() {
  return (
    <Error7
      icon={FileQuestion}
      code="Error 404"
      heading="Page not found"
      description="We looked, but there is nothing at this address."
      buttons={[
        { label: "Back to home", href: "/" },
        { label: "Contact support", href: "/support", variant: "ghost" },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
iconLucideIconIcon rendered in the circular chip at the top of the card
codestringSmall uppercase status label above the heading
headingstringCard heading, rendered as an h1
descriptionstringExplanatory line under the heading
buttonsActionButton[][]Stacked full-width buttons at the bottom of the card
classNamestringExtra classes for the outer <section>
ts
type ActionButton = {
  label: string;
  href: string;
  variant?: "default" | "outline" | "secondary" | "ghost";
  icon?: LucideIcon;
};

Behavior notes

More Error blocks

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

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

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.

PRO

error29

Oversized Numeral 404

Monochrome 404 led by the status code set as an oversized numeral, with the statement and pill call to action on one side of a hairline rule and the explanation plus display-type links on the other.

PRO

error10

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.