Skip to content

TimelineItem

<ts-timeline-item> vv0.6.3

The ts-timeline-item component.

Open in Storybook for interactive demos.

<ts-timeline-item variant="primary">Content</ts-timeline-item>
PropertyAttributeTypeDefaultDescription
iconiconstring | undefinedLucide icon name to display inside the dot.
timestamptimestampstring | undefinedTimestamp text to display above the content.
variantvariant"danger" | "neutral" | "primary" | "success" | "warning"'primary'The visual variant of the timeline dot.
NameDescription
*(default)*Default slot for timeline item content.
dotCustom dot content to replace the default dot indicator.

Use ::part() to style internal elements:

PartDescription
contentThe content wrapper.
dotThe dot indicator element.
lineThe vertical line connecting items.
ts-timeline-item::part(content) {
/* your custom styles */
}
<ts-timeline-item variant="primary">Content</ts-timeline-item>
import { TsTimelineItem } from '@tessera-ui/react';
<TsTimelineItem variant="primary">Content</TsTimelineItem>