0 Tk

Timeline

Timeline

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.

Basic timeline

A basic timeline showing list of events.

{{ā€œdemoā€: ā€œBasicTimeline.jsā€}}

Left-positioned timeline

The main content of the timeline can be positioned on the left side relative to the time axis.

{{ā€œdemoā€: ā€œLeftPositionedTimeline.jsā€}}

Alternating timeline

The timeline can display the events on alternating sides.

{{ā€œdemoā€: ā€œAlternateTimeline.jsā€}}

Reverse Alternating timeline

The timeline can display the events on alternating sides in reverse order.

{{ā€œdemoā€: ā€œAlternateReverseTimeline.jsā€}}

Color

The TimelineDot can appear in different colors from theme palette.

{{ā€œdemoā€: ā€œColorsTimeline.jsā€}}

Outlined

{{ā€œdemoā€: ā€œOutlinedTimeline.jsā€}}

Opposite content

The timeline can display content on opposite sides.

{{ā€œdemoā€: ā€œOppositeContentTimeline.jsā€}}

Customization

Here is an example of customizing the component. You can learn more about this in the overrides documentation page.

{{ā€œdemoā€: ā€œCustomizedTimeline.jsā€}}

Alignment

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:

Left-aligned

{{ā€œdemoā€: ā€œLeftAlignedTimeline.jsā€}}

Right-aligned

{{ā€œdemoā€: ā€œRightAlignedTimeline.jsā€}}

Left-aligned with no opposite content

{{ā€œdemoā€: ā€œNoOppositeContent.jsā€}}