# Modern SaaS Error Page: Centered Astronaut

A centered 404 screen: a framed astronaut adrift over a soft glow above a bold headline, a short lede, and pill CTAs to head home or go back.

- Page: https://www.shadcn-ui-blocks.com/blocks/modern-saas/error-pages/centered-astronaut
- Collection: [Modern SaaS](https://www.shadcn-ui-blocks.com/blocks/modern-saas), Premium tier
- Group: [Error Pages](https://www.shadcn-ui-blocks.com/blocks/modern-saas/error-pages)
- Created: 2026-07-27
- Preview image: https://www.shadcn-ui-blocks.com/blocks/modern-saas/error-pages/centered-astronaut.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/modern-saas-error-pages-centered-astronaut
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: depth-button
- Installs to: `@/components/blocks/modern-saas/error-pages/centered-astronaut`

## About this block

Centered Astronaut is a 404 screen with a sense of calm about being lost. A
framed photo of an astronaut adrift in front of the moon anchors the column,
then an uppercase "404 error" label, a bold balanced headline, a short lede,
and two pill CTAs that point the visitor back home or to the previous page.

The section fills the viewport and centers everything, so it drops straight
into a not-found route with nothing else around it. The frame and copy are
built from theme tokens, so the screen reads cleanly in both light and dark
mode. The photo is the only asset and carries the mood without any extra
decoration.

## When to use

Reach for this on the not-found route of an AI assistant product, the page a
visitor lands on after following a dead link or a mistyped URL. The astronaut
keeps the moment light, the bold headline names the problem clearly, and the
pair of CTAs gives a way out instead of leaving the visitor stranded.

It also suits any Modern SaaS route that has no content yet, when you want a
calm centered layout that shares the feel of the rest of your product.

A natural flow around it on a Modern SaaS page:

**Before**

- A [Navbar](https://www.shadcn-ui-blocks.com/blocks/modern-saas/navbars) so the site header still appears
  above the error screen
- A [Hero](https://www.shadcn-ui-blocks.com/blocks/modern-saas/hero-sections) on the home route visitors are
  being sent back to

**After**

- A [Footer](https://www.shadcn-ui-blocks.com/blocks/modern-saas/footers) to close the page and keep
  navigation consistent
- [Split With Links](https://www.shadcn-ui-blocks.com/blocks/modern-saas/error-pages/split-with-links) as an
  alternative if you want helpful link cards instead of a single visual

## What you can customize

The photo, copy, and CTAs are all independent, so you can adapt the screen
to fit your product without restructuring the layout.

- **The visual.** Drop in your own art at the image source path. A portrait
  crop suits the rounded frame best; keep the subject calm so the headline
  stays the focus.
- **The copy.** The error label, headline, and lede are plain text, so you
  can retune the message for a 404, a 403, or a soft empty state without
  touching the layout.
- **The CTAs.** Point the primary button at your home route and wire the
  second to the browser history, or swap it for a link to your support
  channel or a search page.

> Tip: keep the headline to a few words and let the lede carry the detail,
> so the screen stays as calm as the rest of the collection.

## More in Modern SaaS Error Pages

- [Split With Links](https://www.shadcn-ui-blocks.com/blocks/modern-saas/error-pages/split-with-links)
