Dot matrix 404
A 404 drawn as a dot-matrix sign. The lit dots gather from a scatter on arrival, part around the pointer like iron filings and spring back when it leaves. Under it: a heading, the reason, the way home and suggested pages.
When to use
- The not-found page of a product or marketing site that wants character without noise.
- Any error code; the sign draws whatever digits it is given.
When not to use
- Errors inside the app shell; use the empty state or an inline error.
- Pages that must load with no script; the plain not-found page has none.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/not-found-matrix
Adds its 4 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
NotFoundMatrix
6 props
PropTypeDefault
codestring"404"
titlestring"This page is off the grid"
descriptionstring"The address may be mistyped, or the page has moved. Try one of these instead."
actionsReactNode—
suggestionsreadonly { label: string; href: string; description?: string | undefined; }[]—
classNamestring—
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements and keeps aria-hidden and aria-label in step with state.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/not-found-matrix.mdThe index of every part is at /llms.txt.
More in Pages
Not found pageA friendly 404 with suggestions and search.Error templateThe pages people land on when something goes wrong, each with the way out that fits: search, ask for access, retry with a reference, wait out maintenance, reconnect or get a new link.Dot gridA grid of dots that react to the pointer.