# Oversized 404 Numeral

> 404 not found page led by a display-sized 404 numeral, a friendly headline, short copy, and go home plus go back buttons.

A shadcn/ui block from the [@7ovr](https://7ovr.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/7ovr/error-6).

- Page, with a live preview: https://shadcn.exchange/r/7ovr/error-6
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/7ovr/error-6-light-734a378ef0093917.png
- Registry item: https://7ovr.com/r/error-6.json
- Categories: error
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://7ovr.com/r/error-6.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `@base-ui/react`
- Registry items: `button`

## Notes from the registry

Requires a `base-*` style in components.json (the `shadcn init` default). Legacy `new-york`/`radix-*` styles install Radix primitives, which reject the `render` prop this block uses.

## Files

### `registry/blocks/error/6/error-block.tsx`

```tsx
import { Button } from "@/components/ui/button"
import { IconPlaceholder } from "@/components/icons/icon-placeholder"

export default function ErrorBlock() {
  return (
    <section className="flex min-h-svh w-full items-center justify-center bg-background px-6 py-16 text-foreground">
      <div className="mx-auto flex max-w-lg flex-col items-center text-center">
        <span
          className="text-[8rem] leading-none font-bold tracking-tighter text-foreground tabular-nums select-none sm:text-[11rem]"
          aria-hidden="true"
        >
          404
        </span>
        <h1 className="-mt-2 font-heading text-2xl font-bold tracking-tight sm:text-3xl">
          This page took a wrong turn
        </h1>
        <p className="mt-3 max-w-sm text-sm text-pretty text-muted-foreground">
          The page you&apos;re looking for doesn&apos;t exist or may have been
          moved. Let&apos;s get you back on track.
        </p>
        <div className="mt-8 flex flex-col gap-3 sm:flex-row">
          <Button render={<a href="#" />} nativeButton={false}>
            <IconPlaceholder
              lucide="Home"
              tabler="IconHome"
              hugeicons="HomeIcon"
              phosphor="House"
              remixicon="RiHome4Line"
              data-icon="inline-start"
              aria-hidden="true"
            />
            Go home
          </Button>
          <Button
            render={<a href="#" />}
            nativeButton={false}
            variant="outline"
          >
            <IconPlaceholder
              lucide="ArrowLeft"
              tabler="IconArrowLeft"
              hugeicons="ArrowLeftIcon"
              phosphor="ArrowLeft"
              remixicon="RiArrowLeftLine"
              data-icon="inline-start"
              aria-hidden="true"
            />
            Go back
          </Button>
        </div>
      </div>
    </section>
  )
}
```
