Incident history timeline — Status block
Prostatus-incident-history-timeline · for status pages
Incident history timeline
Something happened: each incident with its updates in order, and the parts still affected above
Documentation
Installation
One command copies the block into your project with the shadcn CLI (the registry is set once: Installation).
pnpm dlx shadcn-vue@latest add @trame/status-incident-history-timelineUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import StatusIncidentHistoryTimeline from '@/components/trame/blocks/status/status-incident-history-timeline.vue'
const props = {
title: "Service status",
components: [
{
name: "Online shop",
state: "operational",
uptime: 99.98,
latency: "180 ms",
detail: "1 incident in 12 months",
history: [
"operational",
"operational"
]
},
{
name: "Payments",
state: "degraded",
uptime: 99.71,
latency: "420 ms",
detail: "3 incidents in 12 months",
history: [
"operational",
"operational"
]
}
],
incidents: [
{
title: "Slow payments",
date: "October 8, 2026, 9:12 a.m.",
status: "Ongoing",
state: "degraded",
updates: [
{
time: "10:05 a.m.",
status: "Identified",
text: "Our payment provider reports high latency."
},
{
time: "9:40 a.m.",
status: "Investigating",
text: "We’re seeing payments take longer than usual."
}
]
},
{
title: "Search unavailable",
date: "October 2, 2026",
status: "Resolved",
state: "outage",
updates: [
{
time: "2:30 p.m.",
status: "Resolved",
text: "The service is back up."
},
{
time: "1:55 p.m.",
status: "Reported",
text: "Search is not responding."
}
]
}
],
updatedAt: "2 minutes ago",
options: {
eyebrow: "Transparency"
}
}
</script>
<template>
<StatusIncidentHistoryTimeline v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordsthe page’s title ("Service status") |
| components* | Component[] | Datathe parts of the service and their state, as passed by the monitor: the block never checks anything itself |
| incidents* | Incident[] | Datapast and current incidents, newest first; empty when there is none to report |
| updatedAt | string | Wordswhen the monitor last reported, as it wrote it |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Component components[] · 7 props
| Prop | Type | Description |
|---|---|---|
| name* | string | Wordsthe part of the service ("Payment", "Europe") |
| state* | 'operational' | 'degraded' | 'partial' | 'outage' | 'maintenance' | its state as the monitor reports it |
| stateLabel | string | Wordsthe state in the monitor’s words, if it differs from the standard label |
| uptime | number | the measured availability, a percentage |
| latency | string | Wordsthe measured response time, as written ("182 ms") |
| detail | string | Wordsa measured line ("1 incident in 12 months") |
| history | ('operational' | 'degraded' | 'partial' | 'outage' | 'maintenance')[] | one state per day, oldest first, as measured |
Incident incidents[] · 5 props
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordsthe incident |
| date* | string | Wordswhen it began, as the monitor wrote it |
| status* | string | Wordswhere it stands ("Resolved", "In progress") |
| state | 'operational' | 'degraded' | 'partial' | 'outage' | 'maintenance' | its impact |
| updates* | Update[] | the incident’s updates, each a time and a stage |
Update incidents[].updates[] · 3 props
| Prop | Type | Description |
|---|---|---|
| time* | string | Wordswhen, as written |
| status* | string | Wordsthe stage ("Identified") |
| text* | string | Wordswhat was said |
Options options · 2 props
| Prop | Type | Description |
|---|---|---|
| eyebrow | string | Wordsa small line above the heading |
| mood | 'inverse' | 'brand' | 'warm' | 'tint' | string | a band of the page that redefines the theme surfaces inside it |
What it asks your app for
The block never knows your app: it asks it, through one context provided once, where its links lead, what its actions do, how a price reads and which words to say (The host context).
| Member | What it is for |
|---|---|
| href | the address an action leads to, or null to hide what leads there |
| act | runs a change (subscribe, add to cart, save) and answers { ok } or { ok: false, error } |
| can | whether the page has this action |
| cartCount | the cart badge’s number |
| cartDrawer | whether your app has a cart drawer |
| cartOpen | whether the cart drawer is open |
| label | your word for an interface key, or undefined to keep the block’s own |
The words it says itself, in English and French; label(key) replaces any of them:
| Key | English | French |
|---|---|---|
| newsletter.already | You are already subscribed. | Vous êtes déjà inscrit. |
| newsletter.done | Done: you are subscribed. | C’est noté : vous êtes inscrit. |
| newsletter.invalid | Check the email address. | Vérifiez l’adresse e-mail. |
| newsletter.tooMany | Too many attempts, try again in a moment. | Trop de tentatives, réessayez dans un moment. |
Features
- Every word in the server HTML
- Same markup in Vue and React
- Theme tokens only: every theme, light and dark
- Shows what you give it, invents nothing
- No motion; still under reduced motion
- Real buttons and links, a visible focus
- Reads
statusfrom your app
A status section, for status pages; it uses @lucide/vue.
More status blocks
- Board component list: the plain answer to "is it working?": a summary line, then one row per part of the service.
- Board region grid: a service run in several regions or sites: one card each with its state and its response time.
- Known problems list: problems the merchant already knows about, each with its status and a workaround.
- Maintenance notice: a planned closure: the merchant’s message, the return time only if the merchant gave one, the way to reach them.
- Maintenance windows list: planned work announced ahead: dated windows with what they touch.
- Uptime history bars: a service that measures daily: a strip of days per part, disruptions marked, availability beside it.
- Uptime history table: A monitoring register comparing state, availability and response time, from the service’s own measurements only.