The timeline displays a list of events in chronological order.
This component is not documented in the Material Design guidelines, but it is available in MaterialĀ UI.
A basic timeline showing list of events.
{{ādemoā: āBasicTimeline.jsā}}
The main content of the timeline can be positioned on the left side relative to the time axis.
{{ādemoā: āLeftPositionedTimeline.jsā}}
The timeline can display the events on alternating sides.
{{ādemoā: āAlternateTimeline.jsā}}
The timeline can display the events on alternating sides in reverse order.
{{ādemoā: āAlternateReverseTimeline.jsā}}
The TimelineDot
can appear in different colors from theme palette.
{{ādemoā: āColorsTimeline.jsā}}
{{ādemoā: āOutlinedTimeline.jsā}}
The timeline can display content on opposite sides.
{{ādemoā: āOppositeContentTimeline.jsā}}
Here is an example of customizing the component. You can learn more about this in the overrides documentation page.
{{ādemoā: āCustomizedTimeline.jsā}}
There are different ways in which a Timeline can be placed within the container.
You can do it by overriding the styles.
A Timeline centers itself in the container by default.
The demos below show how to adjust the relative width of the left and right sides of a Timeline:
{{ādemoā: āLeftAlignedTimeline.jsā}}
{{ādemoā: āRightAlignedTimeline.jsā}}
{{ādemoā: āNoOppositeContent.jsā}}