Component packs › Chronicle › Order Timeline

Order Timeline

The van moves along the route as you scrub, steps fill in, and the status line says where the order was then.

Order Timeline is a tracking from Chronicle, a component pack with 6 timeline components: Timelines and history with one scrubbable time axis: drag it and everything shows that moment. Price: $2 for the whole pack.

Built with: state at time, expected vs done, moving van.

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.

Order Timeline props

PropTypeDefaultDescription
stepsOrderStep[]
orderstring
nownumberjust before the last stepThe real "now"; steps after it are expected, not done. Default: just before the last step.
widthnumber420Width in px. Default 420.
darkboolean
autoplaynumber | falseShowcase mode: scrubs through the delivery every N ms while visible.

Methods on the ref

Use it in React

import OrderTimeline from './OrderTimeline';

<OrderTimeline />

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

More in Chronicle

Good for: Timelines.