Orbit 404
A 404 where the zero is an empty orbit and the pages people usually want circle it as links, larger and in front on the near side, smaller and behind on the far side. Hovering or focusing stops the orbit so a link is easy to take.
When to use
- A marketing or docs site with a handful of obvious destinations.
- Brands that can carry a little play on an error page.
When not to use
- More than eight links; they crowd the ellipse.
- Products where the error should feel serious, such as billing.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/not-found-orbit
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
NotFoundOrbit
6 props
PropTypeDefaultDescription
codestring"404"
titlestring"This page drifted out of orbit"
descriptionstring"We couldn't find what you were looking for. These are close by."
links *readonly { label: string; href: string; }[]—Four to eight is right; each is a page people often want.
actionsReactNode—
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, aria-label and aria-pressed 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-orbit.mdThe index of every part is at /llms.txt.