Timeline - Keep React
Table of Contents#
Default Timeline#
The Default Timeline is a fundamental component that visually presents a sequence of events over time. Each event is showcased in chronological order, offering details such as event dates, titles, and descriptions.
Horizontal Timeline#
The Horizontal Timeline component is designed to display a timeline of events in a horizontal layout. To do that, you need to add horizontal={true}
props.
Dashed Border Timeline#
The Dashed Border Timeline component represents a timeline with dashed borders, creating a distinct visual style for the timeline elements. There are two types of bar type variant in our design system. One is timelineBarType="solid"
,which is set by default and the other is timelineBarType="dashed"
.
Timeline With Image#
The Image Timeline is a dynamic component that showcases a sequence of events along with corresponding images. Each event is presented within a timeline structure, featuring a time indicator, event title, image, and a concise description.
API Reference#
Explore the available props for the timeline component
Property | Description | Type | Default |
---|---|---|---|
horizontal | Arranges the timeline component horizontally if set to true. | boolean | false |
gradientPoint | Adds a gradient effect to the timeline event markers. | boolean | false |
gradientColor | Adds a gradient color with class "bg-gradient-{1-31}". | string | bg-gradient-9 |
timelineBarType | Sets the type of bar style in the timeline. | solid dashed | solid |