Timeline
The timeline displays a list of events in chronological order.
- Eat
- Code
- Sleep
Left-positioned timeline
The main content of the timeline can be positioned on the left side relative to the time axis.
- Eat
- Code
- Sleep
- Repeat
- Eat
- Code
- Sleep
- Repeat
Reverse Alternating timeline
The timeline can display the events on alternating sides in reverse order.
- Eat
- Code
- Sleep
- Repeat
- Secondary
- Success
Press Enter to start editing
- Eat
- Code
- Sleep
- Repeat
- 09:30 amEat
- 10:00 amCode
- 12:00 amSleep
- 9:00 amRepeat
Customization
Here is an example of customizing the component. You can learn more about this in the overrides documentation page.
- 9:30 amEat
Because you need strength
- 10:00 amCode
Because it's awesome!
- Sleep
Because you need rest
- Repeat
Because this is the life you love!
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
- 09:30 amEat
- 10:00 amCode
- 09:30 amEat
- 10:00 amCode
- Eat
- Code