Components · Data Display · Timeline
Back to Timeline typesTimeline
Use to show a sequence of events in chronological order, each with a dot connected by a continuous line - one Timeline component, controlled by properties, for activity logs, order status history, or a project's milestone history.
Properties
Show icons swaps the plain dot markers for small colored status icons across every event. Change it below to check both layouts and every state in the Live Preview.
Live Preview
Both layouts compared side by side, each in all 3 states - Default, With events and Pending. One matrix is rendered at the chosen Show icons setting.
When to use
Any place a sequence of events needs to read clearly in chronological order, with a sense of what's done, current, and still to come.
Component Guide
Overview
Timeline shows a sequence of events in chronological order, each with a dot connected by a continuous line - used for activity logs, order status history, or a project's milestone history, so the reader can see what happened, when, and in what order.
When to Use
- Order status history - showing each stage a shipment or order has passed through.
- An activity or audit log - chronological events tied to a record.
- Project milestone tracking or onboarding progress - a sequence of events, each with a point in time.
When Not to Use
- A fixed sequence the user is actively moving through right now - use Steps instead - Timeline is a historical record, Steps is an in-progress flow.
- Unordered or non-chronological content - a Timeline's core value is chronological order; don't use it for a list with no meaningful sequence.
- A simple list with no time dimension at all - use List.
Best Practices
- Keep each entry's timestamp visible and consistently formatted, since chronology is the whole point of a Timeline.
- Use distinct icons or colors sparingly, reserved for genuinely different event types, not decoration.
- For very long histories, consider collapsing older entries or paginating rather than rendering the entire history at once.
Do and Don't
Do
Order shipped
14 Mar, 09:12
Out for delivery
Expected 16 Mar
Events in chronological order, each with a timestamp, so the sequence and its pacing are both readable.
Don't
Out for delivery
Order shipped
Events out of order with no timestamps leave the reader unable to tell what actually happened when - the one thing a timeline exists to show.
Accessibility
- Each entry's timestamp and description are real text, read in order by screen readers, not implied only by visual position on the line.
- The connecting line and dots are decorative and hidden from assistive technology - the meaningful content is the entry text itself.
- Event type (success, error, pending) is distinguishable by more than color, using an icon or text label as well.
Related Components
Steps, List, Result.
{
"component": "Timeline",
"category": "Data Display",
"summary": "Timeline shows a sequence of events in chronological order, each with a dot connected by a continuous line - used for activity logs, order status history, or a project's milestone history, so the reader can see what happened, when, and in what order.",
"whenToUse": [
"Order status history - showing each stage a shipment or order has passed through.",
"An activity or audit log - chronological events tied to a record.",
"Project milestone tracking or onboarding progress - a sequence of events, each with a point in time."
],
"whenNotToUse": [
"A fixed sequence the user is actively moving through right now - use Steps instead - Timeline is a historical record, Steps is an in-progress flow.",
"Unordered or non-chronological content - a Timeline's core value is chronological order; don't use it for a list with no meaningful sequence.",
"A simple list with no time dimension at all - use List."
],
"bestPractices": [
"Keep each entry's timestamp visible and consistently formatted, since chronology is the whole point of a Timeline.",
"Use distinct icons or colors sparingly, reserved for genuinely different event types, not decoration.",
"For very long histories, consider collapsing older entries or paginating rather than rendering the entire history at once."
],
"doAndDont": {
"do": "Events in chronological order, each with a timestamp, so the sequence and its pacing are both readable.",
"dont": "Events out of order with no timestamps leave the reader unable to tell what actually happened when - the one thing a timeline exists to show."
},
"accessibility": [
"Each entry's timestamp and description are real text, read in order by screen readers, not implied only by visual position on the line.",
"The connecting line and dots are decorative and hidden from assistive technology - the meaningful content is the entry text itself.",
"Event type (success, error, pending) is distinguishable by more than color, using an icon or text label as well."
],
"relatedComponents": [
"Steps",
"List",
"Result"
]
}