Ballmac UI home

Error 1: friendly 404, 403 and 500 page

An error page with giant fading numerals whose zero is a ring with an orbiting moon, plain-language copy per status, home and back buttons, site search and helpful links.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/error-1

Usage

Example: error-1-demo.tsx
import { Error1 } from "@/components/ballmac/blocks/error-1/error-1"

export default function Error1Demo() {
  return <Error1 />
}

Dependencies

Use with AI

Drop into not-found.tsx or error.tsx. Set status ('404' | '403' | '500'); override title and description if you like; pass onSearch to wire the search box, links for next steps and reference for a request id. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Error 1: friendly 404, 403 and 500 page (@ballmac/error-1) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Next.js not-found.tsx and error.tsx
  • Any missing, forbidden or failed page

Not for

  • Inline errors inside a form or panel (use alert or empty-state)

Registry JSON: https://ui.ballmac.com/r/error-1.json

Free to use in personal and commercial projects.