When to use
- An incident, outage or on-call page where updates arrive live and the clock matters.
- Status pages' admin side, security incidents, support escalations.
When not to use
- A general activity feed with no open/resolved state: use timeline-core directly.
- A public status page: uptime bars communicate better there.
Installation
pnpm dlx shadcn add @eased-pro/incident-timelinenpx shadcn add @eased-pro/incident-timelineyarn dlx shadcn add @eased-pro/incident-timelinebunx --bun shadcn add @eased-pro/incident-timelineInstalls from the @eased-pro registry and MCP server. · Already have Pro? Sign in.
Install the dependencies
pnpm add motion @base-ui/reactnpm install motion @base-ui/reactyarn add motion @base-ui/reactbun add motion @base-ui/reactAdd the Eased pieces it builds on
Copy each item’s files the same way, or install them with the CLI:
Add the files
- components/eased/incident-timeline/incident-timeline.tsx
Source is included with Eased Pro. Members download the files with the CLI command above, or through the MCP server.
Keep the folder layout
The files import each other by relative path (
../lib/motion), so keep each one at the path shown, undercomponents/eased/.
Usage
import { IncidentTimeline } from "@/components/eased/incident-timeline/incident-timeline";<IncidentTimeline id="INC-2291" title="Elevated 5xx on api.fathom.dev" severity={severity} onSeverityChange={setSeverity} startedAt={openedAt} resolvedAt={resolvedAt} events={updates} onPost={(text) => postUpdate(text)}/>;API reference
IncidentTimeline
| Prop | Type | Default | Description |
|---|---|---|---|
id / title | string | The incident's id and title. | |
severity | "SEV-1" | "SEV-2" | "SEV-3" | The badge. | |
onSeverityChange | (s) => void | Makes the badge a menu. | |
startedAt | number | Epoch ms opened; the counter rolls from it. | |
resolvedAt | number | Set it to fold the live region and stop the counter. | |
events | TimelineEvent[] | Updates in any order, shown newest first; new ids rise in once. | |
onPost | (text) => void | Shows the update composer. | |
now | number | real time | The clock for ages and the counter. |
live | ReactNode | Shown above the composer, e.g. who is on call. | |
className | string | "" | Appended to the root. |
Keyboard
| Key | Action |
|---|---|
Tab | Severity menu, update field, Post, then the timeline. |
Enter / Space / ↓ | Opens the severity menu; arrows move, Enter picks, Esc closes. |
Enter | Posts the update. |
Accessibility
- The severity trigger is named "Severity SEV-2. Change severity"; the menu is a Base UI radio menu.
- The counter is read as "Open for 1h 36m"; each update has a
timewith its ISO date. - The timeline is an ordered list named after the incident.
Motion
New updates rise 6px and fade in once on the enter curve, staggered 35ms within a batch; existing rows never move or replay. The severity tint crossfades in 150ms and its label swaps. The counter rolls each digit every second. Resolving folds the composer on Auto Height (smooth spring, no overshoot). The menu uses overlay-core's menu motion. Reduced motion: rows and the composer fade, the ping stops.
Notes for AI
Pass the incident's updates as timeline-core events with tone set from the update type (danger for alerts, success for resolution) and an actor. Keep ids stable so live updates don't re-enter.
Don't sort or animate the list yourself, and don't render your own clock: pass now only to pin it.
Related components
- Streaming Deploy Log: what shipped before the incident.
- Animated Notification Badge: the status chip on its own.
- PR Review