# Status Page

> React status page template: an overall banner, components with 90-day uptime bars, live incidents, scheduled maintenance and history.

- Type: React template (Templates)
- Access: Pro (the source needs a Wingo UI Pro plan, see https://wingo-ui.com/pricing)
- Version: 1.1.0
- Install: `npx wingo-ui@latest add status-page`
- Docs: https://wingo-ui.com/templates/status-page

## Interaction

The banner sums up every component: green All systems operational, amber Some systems degraded or Partial outage, red Major outage, blue Maintenance in progress (or whatever overall forces). An open incident sits inside the banner with its updates as a timeline (Investigating, Identified, Monitoring, Resolved), newest first. A scheduled maintenance card counts down to its start, then to its end while it runs, and disappears once it is over. Each component row shows its state and a bar of daily blocks: hover a block (or tap it on a phone, then drag sideways to scrub) to read the date, the uptime and what happened; with the keyboard, Tab to a bar and use the arrow keys. Desktop shows 90 days, phones the last 30, each with the average uptime. Past incidents are grouped by day for the last week; Show updates opens an incident's full timeline. Subscribe in the header opens a popover (a bottom sheet on phones) with a validated email signup that spins, then confirms, plus RSS, webhook and calendar links. Every time is shown in timeZone (UTC by default). The page rises in once on mount; reduced motion keeps it still.

## Installation

```bash
npx wingo-ui@latest add status-page
```

Pro item: run `npx wingo-ui@latest login` once with a Pro account. The CLI adds the files, their dependencies and a version record for updates.

With shadcn: `npx shadcn@latest add @wingo-ui/status-page` (needs the @wingo-ui registry with your API key in components.json)

Files:

- `components/templates/status-page.tsx`
- `components/templates/status-page-data.ts`

npm dependencies: `npm i motion lucide-react`

Wingo UI dependencies (installed automatically):

- [Marketing Header](https://wingo-ui.com/components/marketing-header) ([Markdown](https://wingo-ui.com/components/marketing-header.md))
- [Marketing Footer](https://wingo-ui.com/components/marketing-footer) ([Markdown](https://wingo-ui.com/components/marketing-footer.md))
- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [Button](https://wingo-ui.com/components/button) ([Markdown](https://wingo-ui.com/components/button.md))
- [Countdown](https://wingo-ui.com/components/countdown) ([Markdown](https://wingo-ui.com/components/countdown.md))
- [Popover](https://wingo-ui.com/components/popover) ([Markdown](https://wingo-ui.com/components/popover.md))
- [Timeline](https://wingo-ui.com/components/timeline) ([Markdown](https://wingo-ui.com/components/timeline.md))
- [Tracker](https://wingo-ui.com/components/tracker) ([Markdown](https://wingo-ui.com/components/tracker.md))
- [Motion presets](https://wingo-ui.com/components/motion) ([Markdown](https://wingo-ui.com/components/motion.md))
- [Navigation](https://wingo-ui.com/components/navigation) ([Markdown](https://wingo-ui.com/components/navigation.md))
- [Tones](https://wingo-ui.com/components/tones) ([Markdown](https://wingo-ui.com/components/tones.md))
- [UIProvider](https://wingo-ui.com/components/ui-config) ([Markdown](https://wingo-ui.com/components/ui-config.md))

## Usage

```tsx
// app/status/page.tsx
import Link from "next/link"
import { StatusPage } from "@/components/templates/status-page"
import type { StatusPageData } from "@/components/templates/status-page-data"

export const revalidate = 60

// your monitoring backend, shaped as StatusPageData
async function getStatus(): Promise<StatusPageData> {
  const response = await fetch("https://monitor.acme.com/v1/status")
  return response.json()
}

export default async function StatusRoute() {
  const status = await getStatus()
  return (
    <StatusPage
      linkComponent={Link}
      groups={status.groups}
      incidents={status.incidents}
      maintenance={status.maintenance}
      updatedAt={status.updatedAt}
    />
  )
}
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `simulate?` | `"operational" \| "degraded" \| "outage"` | `"operational"` | Which sample data set fills the page when groups, incidents and maintenance are left out: everything up, one incident on Realtime sync, or an API outage. |
| `groups?` | `StatusComponentGroup[]` |  | { id, name, components }; each component has id, name, description, state and a daily history (oldest first). |
| `incidents?` | `StatusIncident[]` |  | { id, title, impact, components, updates }; updates newest first, open until the newest is resolved. |
| `maintenance?` | `StatusMaintenance[]` |  | { id, title, description, startsAt, endsAt, components }; hidden once endsAt has passed. |
| `updatedAt?` | `string` | `""` | ISO time of the last refresh, shown in the banner; the incident history counts back from its day. Empty uses the sample's. |
| `overall?` | `"auto" \| "operational" \| "degraded" \| "partial" \| "major" \| "maintenance"` | `"auto"` | Forces the banner; auto derives it from the worst component state. |
| `historyDays?` | `number` | `7` | Days of incident history, newest first (days without incidents say so). |
| `showMaintenance?` | `boolean` | `true` | The scheduled maintenance card with its countdown. |
| `showHistory?` | `boolean` | `true` | The past incidents section. |
| `design?` | `"classic" \| "bold" \| "minimal"` | `"classic"` | The whole page's look. classic: a soft status banner and raised cards; bold: a pill header, the status as a solid band in its color with large heavy type, taller uptime bars, big rounded cards, incidents with a colored side bar and a wordmark footer; minimal: a transparent header, the status as a dot and a title over a hairline, dense flat rows between hairlines, no cards, past incidents on a thin side rule. headerProps, footerProps and classNames still win. |
| `background?` | `"plain" \| "soft" \| "glow" \| "aurora" \| "grid" \| "dots"` | `"grid"` | The main background: plain is the bare page color; the others tint the page and add a glow, an aurora, a grid or dots over the first screen. A design picks its own unless you set one (classic grid, bold aurora, minimal plain). |
| `backgroundColor?` | `string` | `"oklch(0.62 0.14 275)"` | The tint and glow color of the main background. |
| `showLegend?` | `boolean` | `true` | The color legend next to the Components heading. |
| `trackerSize?` | `"sm" \| "md"` | `"sm"` | Height of the uptime bars: 24 or 32px. Applies to the classic and minimal designs; bold uses md. |
| `ctaTone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | The Subscribe button and the signup button in its popover. |
| `header?` | `boolean` | `true` | The minimal header: logo, Visit acme.com and Subscribe. Without it Subscribe moves into the banner. |
| `footer?` | `boolean` | `true` | The simple footer, its status dot matching the banner. |
| `headerProps?` | `Partial<MarketingHeaderProps>` |  | Passed to MarketingHeader over the status defaults (no links, custom actions). |
| `footerProps?` | `Partial<MarketingFooterProps>` |  | Passed to MarketingFooter. |
| `onSubscribe?` | `(email: string) => (void \| Promise<unknown>)` |  | The email signup; a returned promise keeps the button loading, a rejection shows an error. Without it the form waits 900 ms and succeeds. |
| `timeZone?` | `string` | `"UTC"` | IANA zone for every time on the page (also keeps server and browser output identical). |
| `locale?` | `string` | `"en-US"` | Intl locale for dates, times and percentages. |
| `animateIn?` | `boolean` | `true` | The page rises in once on mount; off in thumbnails. |
| `linkComponent?` | `(props: LinkComponentProps) => ReactNode` | `"<a>"` | The router link for every link (next/link in an app). |
| `labels?` | `Partial<StatusPageLabels>` |  | Every visible string; English defaults in DEFAULT_STATUS_PAGE_LABELS. |
| `hrefs?` | `Partial<StatusPageHrefs>` |  | home, site, history, rss, webhooks, calendar, support, help and docs. |
| `className?` | `string` |  | Classes for the root. |
| `classNames?` | `Partial<Record<StatusPageSlot, string>>` |  | Classes for banner, incident, maintenance, components, group, component, history and subscribe. |

## Parts

### deriveOverall (function)

The overall state of a list of groups: the worst component state (major, partial, degraded, maintenance, operational).

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `groups?` | `StatusComponentGroup[]` |  | The groups to sum up. |

### isIncidentOpen (function)

True while an incident's newest update is not resolved.

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `incident?` | `StatusIncident` |  | The incident. |

### STATUS_PAGE_DESIGNS (constant)

The design names, classic first: ["classic", "bold", "minimal"].

### StatusPageDesign (type)

"classic" | "bold" | "minimal".

### STATUS_PAGE_SCENARIOS (constant)

The three sample data sets keyed by scenario: operational, degraded and outage.

### STATUS_PAGE_SAMPLE (constant)

The operational data set: seven components in three groups, two past incidents and one maintenance window.

### DEFAULT_STATUS_PAGE_LABELS (constant)

The English strings.

### StatusPageData (type)

{ updatedAt, groups, incidents, maintenance }.

### StatusComponentGroup (type)

{ id, name, components }.

### StatusComponent (type)

{ id, name, description?, state, history: StatusDay[] }.

### StatusDay (type)

{ date, status: ok | degraded | down | maintenance | none, uptime, note? }.

### StatusIncident (type)

{ id, title, impact: minor | major | critical, components, updates }.

### StatusIncidentUpdate (type)

{ stage: investigating | identified | monitoring | resolved, message, at }.

### StatusMaintenance (type)

{ id, title, description, startsAt, endsAt, components }.

### StatusPageProps (type)

Props of StatusPage.

### StatusComponentState (type)

"operational" | "degraded" | "partial" | "major" | "maintenance".

### StatusOverall (type)

The banner state, same values as StatusComponentState.

### StatusScenario (type)

"operational" | "degraded" | "outage": the sample data sets.

### StatusDayStatus (type)

"ok" | "degraded" | "down" | "maintenance" | "none": one uptime block.

### StatusIncidentStage (type)

"investigating" | "identified" | "monitoring" | "resolved".

### StatusIncidentImpact (type)

"minor" | "major" | "critical".

### StatusPageHrefs (type)

{ home, site, history, rss, webhooks, calendar, support, help, docs }: the page's links.

### StatusPageLabels (type)

The strings the page shows.

### StatusPageSlot (type)

The classNames keys: banner, incident, maintenance, components, group, component, history and subscribe.

## Examples

- **Bold design**: design="bold": a pill header, the status as a solid colored band with large type, taller uptime bars, big cards and a wordmark footer.
- **Minimal design**: design="minimal": a transparent header, the status as a dot and a title, dense flat rows between hairlines and no cards.
- **Partial outage**: An open incident on Realtime sync: the banner turns amber and shows the updates timeline, the affected rows and today's blocks follow.
- **Major outage**: The API and web app are down: a red banner, a critical incident and four affected components.
- **Maintenance under way**: A maintenance window that started an hour ago: the card counts down to its end and the banner is forced to maintenance.
- **Embedded, New York time**: Without header and footer (Subscribe moves into the banner), times in America/New_York and a brand-orange Subscribe.

## See also

- [Tracker](https://wingo-ui.com/components/tracker) ([Markdown](https://wingo-ui.com/components/tracker.md))
- [Timeline](https://wingo-ui.com/components/timeline) ([Markdown](https://wingo-ui.com/components/timeline.md))
- [Countdown](https://wingo-ui.com/components/countdown) ([Markdown](https://wingo-ui.com/components/countdown.md))
- [Marketing Header](https://wingo-ui.com/components/marketing-header) ([Markdown](https://wingo-ui.com/components/marketing-header.md))
- [Marketing Footer](https://wingo-ui.com/components/marketing-footer) ([Markdown](https://wingo-ui.com/components/marketing-footer.md))

---

Canonical: https://wingo-ui.com/templates/status-page
More components: https://wingo-ui.com/components · Index for agents: https://wingo-ui.com/llms.txt
