# Application Empty State: Error Page 404

Centered 404 page showing the failed path in mono, three reasons a workspace link goes stale, and search or dashboard as recovery actions.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/error-page-404
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Empty States](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/error-page-404.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-empty-states-error-page-404
```

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, lucide-react, radix-ui
- shadcn/ui components: button
- Installs to: `@/components/blocks/application-pro/empty-states/error-page-404`

## About this block

Error Page 404 is a full-page centered layout that treats a
missing page as information rather than a dead end. The Acme
lockup sits above a card that opens with a FileQuestion icon,
the heading This page does not exist, and a plain reassurance
that the session is fine and nothing else is affected. A muted
panel holds the requested path /projects/atlas-q3/settings in
mono with a copy button, and a ruled reason list names the
three realistic ways a link goes stale inside a product: it
was moved or renamed, it was deleted, or you lost access to
it. Two buttons give the ways forward, Back to dashboard and
Search the workspace.

The requested path is a const and the reasons are a small
array, so each has one place to change. The footer explains
that a teammate can regenerate the current URL by sharing the
page again, turning a broken link into a one message fix.

## When to use

Reach for this block as the destination for any unresolved
route, wired to your not-found handler so the requested path
is injected from the actual URL. Point the search and
dashboard buttons at your real routes.

A natural flow around it on an Application Pro page:

**Before**

- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)

**After**

- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- [Filters and search](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search)

## What you can display

One strong use is the workspace not-found page. Other 404
shapes:

- **Deleted resource page.** The path points at a project
  that was removed, with a link to the trash while it lasts.
- **Private page redirect.** The link is valid but you lack
  access, so the copy points at requesting it from the owner.
- **Renamed route catch.** The old slug no longer resolves,
  with the new location suggested when it can be inferred.

> Tip: name the specific reasons a link breaks inside your
> product; a generic page not found sends the user straight
> to support.

## More in Application Empty States

- [Archived Project State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/archived-project-state)
- [Cleared Inbox State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/cleared-inbox-state)
- [Coming Soon State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/coming-soon-state)
- [Deleted Resource State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/deleted-resource-state)
- [Empty Automations State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-automations-state)
- [Empty Chart State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-chart-state)
- [Empty Comments State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-comments-state)
- [Empty Table State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-table-state)
- [Empty Uploads Dropzone](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-uploads-dropzone)
- [Error Boundary Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/error-boundary-card)
- [Error Page 500](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/error-page-500)
- [First Run Checklist Empty](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/first-run-checklist-empty)
- [Import In Progress State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/import-in-progress-state)
- [Maintenance Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/maintenance-page)
- [No Access Yet State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/no-access-yet-state)
- [No Data Yet State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/no-data-yet-state)
- [No Integrations State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/no-integrations-state)
- [No Search Results State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/no-search-results-state)
- [Offline State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/offline-state)
- [Onboarding Empty Dashboard](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/onboarding-empty-dashboard)
- [Payment Failed State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/payment-failed-state)
- [Permission Denied State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/permission-denied-state)
- [Rate Limited State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/rate-limited-state)
- [Search No Matches](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/search-no-matches)
- [Session Expired State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/session-expired-state)
- [Storage Full State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/storage-full-state)
- [Trial Expired State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/trial-expired-state)
- [Welcome Back State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/welcome-back-state)
