When to use
Section titled “When to use”Timeline shows the history of a record: an activity feed, a change log, the stages of a request.
When not to use
Section titled “When not to use”- For steps still to come: an ordered flow is shown with Stepper.
- For records to sort and filter: use DataTable.
Anatomy
Section titled “Anatomy”- Release stoppedNow
A check failed.
- Review requested
- Two people invited to the team
Invitations were sent by email.
- Project created
import { Timeline, type TimelineItem, Provider } from '@bigbang/ui';
const items: TimelineItem[] = [ { id: 'blocked', title: 'Release stopped', description: 'A check failed.', time: 'Now', tone: 'danger', icon: 'circle-alert' }, { id: 'review', title: 'Review requested', dateTime: '2026-10-27T16:05:00', tone: 'info' }, { id: 'invited', title: 'Two people invited to the team', description: 'Invitations were sent by email.', dateTime: '2026-10-26T11:20:00' }, { id: 'created', title: 'Project created', dateTime: '2026-10-24', tone: 'success', icon: 'check' },];
export default function Default() { return ( <Provider locale="en-GB"> <Timeline items={items} aria-label="History" className="max-w-lg" /> </Provider> );}- Marker: 24 px; a dot or an icon, coloured by tone.
- Rail: The line joining markers; none after the last event.
- Title and time: On one line; stacked on narrow screens.
- Description and extra content: Optional.
Behaviour
Section titled “Behaviour”- Events enter in turn, 50 ms apart (up to eight).
- If
dateTimehas a date and time both are written; a plain date shows only the date and does not shift with the time zone. - The order is yours: put the newest first or last, and keep it the same across the product.
Guidelines
Section titled “Guidelines”- State the outcome in the title (“Release stopped”); tone only supports it.
- Use
timefor relative time (“Now”) anddateTimefor exact time. - Page long histories or shorten them with “Show more”.
Content
Section titled “Content”Timeline has no text of its own; all text comes from the app.
Related components
Section titled “Related components”- Stepper: Steps to come.
- StatusBadge: A single status.