Component packs › Detour › Maintenance Page

Maintenance Page

A line marking machine paints a fresh centre line behind a row of cones while traffic passes.

Maintenance Page is a status page from Detour, a component pack with 6 error and empty pages: Error and empty pages, each a small live street seen from above with one honest way forward. Price: $2 for the whole pack.

Built with: progressive paint line, email notice form, clear end time.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Maintenance Page props

PropTypeDefaultDescription
untilstringWhen it ends, as you want it shown, e.g. "14:00 UTC".
textstringWhat is paused and what still works.
statusstringStatus page URL.
onNotify(email: string) => Promise<unknown> | void
previewbooleanShowcase mode: the status button says what it would do instead of leaving the page.
widthnumber420Width in px. Default 420.
darkboolean

Methods on the ref

Use it in React

import Maintenance from './Maintenance';

<Maintenance />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Detour

Good for: 404 and empty states.