Modules

Status pages

403, 404 and 500 errors, maintenance and coming soon, all on the same split screen.

config/status.config.ts
View in the demo

error.vue (403, 404, 500 and others), /maintenance and /coming-soon render AppStatusScreen, the split screen of the auth pages: an AppBrandPanel with the code or a headline set giant over your logo mark, and the tagline and a mono detail line in its footer strip, next to a content column. Below lg the panel becomes a band on top.

Files

File
Role
error.vueEvery error code.
pages/error/[status].vueThrows 403, 404 or 500 so you can preview error.vue.
pages/maintenance.vueThe maintenance window with progress.
pages/coming-soon.vueA countdown with a waitlist form.
config/status.config.tsLinks, the status page URL, support email and windows.
utils/status.tsclosestPage() and flattenNavigation(), unit tested.

Configuration

Quick links of the 404.

config/status.config.ts
const STATUS_QUICK_LINKS: string[]

STATUS_PAGE_URL

Your public status page, linked from the 500.

config/status.config.ts
const STATUS_PAGE_URL: "https://status.example.com"

SUPPORT_EMAIL

The support address.

config/status.config.ts
const SUPPORT_EMAIL: "[email protected]"

MAINTENANCE_WINDOW_MINUTES

Length of the maintenance window.

config/status.config.ts
const MAINTENANCE_WINDOW_MINUTES: { elapsed: number; remaining: number; }

LAUNCH_OFFSET_MS

Time until the launch of the coming soon page.

config/status.config.ts
const LAUNCH_OFFSET_MS: number

Rules

Pure functions in utils/, unit tested in tests/unit/. Statuses and segments are derived from the stored data, never stored themselves.

closestPage()

The closest menu page.

utils/status.ts
closestPage(path: string, pages: StatusPageLink[]): StatusPageLink | undefined

How it works

  • The 404 suggests the closest menu page, opens the command palette and lists STATUS_QUICK_LINKS.
  • The 403 offers request access and switch account. The 500 shows a copyable request id, retry and STATUS_PAGE_URL.
  • Maintenance and coming soon use the blank layout and are public: true, so they need no session.
  • color of AppStatusScreen is primary, secondary, error or accent.
© 2026 melsami UI.
Developer documentation for melsami UI.