Markers allow you to flag a specific time or time range with a line that vertically crosses all the visible entities on the timeline.
Markers Example
Log in to view live examplesAdd markers to your timeline by using the timeline.markers API. markers prop. You can add as many markers to your timeline as you like.
By default, markers inherit their colors and text size from the scales options. However, markers can be individually styled by specifying color, fontIcon or labelColor and other options in the Marker object.
timeline.markers([
{
label: 'Incident',
time: { start: new Date(2025, 7, 14, 9, 30), end: new Date(2025, 7, 14, 12, 30) },
},
{
label: 'Resolution',
time: new Date(2025, 7, 14, 13, 0),
color: '#a3c096',
labelColor: '#219ebc',
fontIcon: { fontFamily: 'Font Awesome 6 Free', fontWeight: 900, text: '\u{f058}' },
showAtBottom: false,
},
]); <Timeline
markers={[
{
label: 'Incident',
time: {
start: new Date(2025, 7, 14, 9, 30),
end: new Date(2025, 7, 14, 12, 30)
}
},
{
label: 'Resolution',
time: new Date(2025, 7, 14, 13, 0),
color: '#a3c096',
labelColor: '#219ebc',
fontIcon: { fontFamily: 'Font Awesome 6 Free', fontWeight: 900, text: '\u{f058}' },
showAtBottom: false,
}
}]
/> See more in the Markers story.