Timeline
A vertical sequence of events. The line draws itself as you scroll and each step slides in when it enters the viewport.
Repository connected
acme/web linked to the production environment.
Build completed
38s · 412 kB of JavaScript · cache hit on 92% of modules.
Checks passed
Lighthouse 98, end-to-end suite green across 3 browsers.
Promoting to production
Routing traffic gradually: 25% of requests are on the new version.
Old deployment retired
Kept warm for 24 hours for instant rollback.
Playground
Tweak the props, the preview and the code follow.
Ticket opened
Updated by the on-call engineer.
Triaged
Updated by the on-call engineer.
Fix in review
Updated by the on-call engineer.
Deployed
Updated by the on-call engineer.
Customer notified
Updated by the on-call engineer.
<Timeline>
<TimelineItem status="done">
<TimelineIndicator />
<TimelineContent>
<TimelineHeader>
<TimelineTitle>Ticket opened</TimelineTitle>
<TimelineTime>09:00</TimelineTime>
</TimelineHeader>
<TimelineDescription>Updated by the on-call engineer.</TimelineDescription>
</TimelineContent>
</TimelineItem>
<TimelineItem status="current">…</TimelineItem>
<TimelineItem status="upcoming">…</TimelineItem>
</Timeline>Installation
npx @plumsydev/plum-ui add timelineUsage
import {
Timeline,
TimelineContent,
TimelineDescription,
TimelineHeader,
TimelineIndicator,
TimelineItem,
TimelineTime,
TimelineTitle,
} from "@/components/ui/timeline"<Timeline>
<TimelineItem status="done">
<TimelineIndicator />
<TimelineContent>
<TimelineHeader>
<TimelineTitle>Build completed</TimelineTitle>
<TimelineTime>09:14</TimelineTime>
</TimelineHeader>
<TimelineDescription>38s · 412 kB</TimelineDescription>
</TimelineContent>
</TimelineItem>
</Timeline>Examples
Live status
Change status on the fly: indicators morph between done, current and upcoming.
Order placed
Payment confirmed for order #20481.
Packed
Your items left the shelf and were boxed.
At the hub
Sorted at the Lyon distribution center.
Out for delivery
With the courier, expected before 13:00.
Delivered
Left at the front desk, signed by A. Roux.
Changelog
Compose freely with badges and metadata.
Edge config
FeatureRead configuration from the edge with zero cold starts.
Faster cold builds
FixDependency installs are cached across branches.
Instant rollbacks
FeaturePromote a previous deployment without rebuilding.
Token scoping
SecurityAPI tokens can now be limited to a single project.
API Reference
Timeline
| Prop | Type | Default |
|---|---|---|
animatedDraw the line on scroll and reveal items in view. | boolean | true |
TimelineItem
| Prop | Type | Default |
|---|---|---|
statusDrives the indicator and title styles. | "done" | "current" | "upcoming" | "done" |
TimelineIndicator
Defaults to a check, a pulsing dot or a hollow dot. Pass an icon as children to override.