Timeline

The Timeline component visually represents a sequence of events or milestones in either a vertical or horizontal layout.

Usage

Default

  • Project Kickoff

    Initial planning and stakeholder alignment.

  • Requirements Finalized

    All business and technical requirements approved.

  • Launch

    Product released to market.


<Timeline 
  orientation="vertical"
  items={[
    { title: "Project Kickoff", description: "Initial planning and stakeholder alignment.", date: "2025-01-01", icon: FaRocket },
    { title: "Requirements Finalized", description: "All business and technical requirements approved.", date: "2025-02-15", icon: FaCalendarAlt },
    { title: "Launch", description: "Product released to market.", date: "2025-06-30", icon: FaCheckCircle },
  ]}
/>

Props

Sortable data table
PropTypeDefaultDescription
itemsTimelineItem[]-Array of timeline event objects to render, each containing `title`, `description`, `date`, and optionally an `icon`.
orientation"vertical" | "horizontal""vertical"Defines the layout direction of the timeline.
theme"primary" | "secondary" | "tertiary" | "quaternary" | "clear"Configured DefaultSets the color theme for timeline events.
rounding"none" | "small" | "medium" | "large"Configured DefaultControls the border radius of timeline cards/events.
shadow"none" | "light" | "medium" | "strong" | "intense"Configured DefaultSets the shadow depth for timeline cards/events.
classNamestring-Custom class name for the timeline container.
data-testidstring"timeline"Test ID for the root element, useful for testing utilities.