#Demos
We can pass down a list of timeline items as a variable to data.
It's also possible to pass down timeline items as children, see example.
- Completed event
- Current event
Additional information about this step if needed. - Upcoming event
#Timeline with multiple timeline items passed down as children:
Passing down timeline items as children
- Completed event
- Current event
Additional information about this step if needed. - Upcoming event
#Examples of Timelines with one timeline item:
Property state changes styling of icon, border, and font of the timeline item
- Completed event
10. september 2021
Additional information about this step if needed. - Current event
10. september 2021
Additional information about this step if needed. - Upcoming event
10. september 2021
Additional information about this step if needed.
Property icon is by default set based on the value of state property, but can be overwritten by passing a icon, see how to import icons.
See default icons based on value of state property in documentation for icon property of the timeline item
- Completed event
- Current event
- Upcoming event
#Timeline skeleton:
#Timeline as children skeleton:
- Completed event#1
- Completed event#2
11. september 2021
Additional information about this step if needed.
#Timeline with multiple completed timeline items:
- Completed event#1
10. september 2021
Additional information about this step if needed. - Completed event#2
Additional information about this step if needed. - Completed event#3
#Timeline with multiple current timeline items:
- Current event#1
10. september 2021
Additional information about this step if needed. - Current event#2
Additional information about this step if needed. - Current event#3
#Timeline with multiple upcoming timeline items:
- Upcoming event#1
10. september 2021
Additional information about this step if needed. - Upcoming event#2
Additional information about this step if needed. - Upcoming event#3