Timeline
Events in order with dates and markers.
Monday
Completed: Order placed
Order NW-2210 · 3 items
Completed: Payment captured
Visa ending 4242
Authorization 7F3A91 · Net $128.40 · Fee $3.99. Receipt sent to billing@northwind.example.Tuesday
Completed: Packed at Leeds warehouse
Today
In progress: Out for delivery
Courier will arrive between 1 and 3 PM
Tracking ref LD-88-1204. The driver can be reached through the courier line if the address needs a gate code.Upcoming: Delivered
Signature may be required
When to use
- Showing history.
When not to use
- Items need columns; use a table.
Installation
pnpm dlx shadcn@latest add @caliper/timeline
Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
Timeline
6 props
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements and keeps aria-label, aria-hidden, aria-expanded and aria-controls in step with state.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/timeline.mdThe index of every part is at /llms.txt.