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

Data table
TypeDescription
aria-describedbystringOptional aria-describedby for the timeline root.
aria-labelstringAccessible label for the timeline. Defaults to "Timeline".
aria-labelledbystringOptional aria-labelledby for the timeline root. When provided, this should take precedence over "aria-label".
classNamestringAdditional CSS class names for custom styling.
data-testidstringOptional test ID for testing purposes.
itemsTimelineItem[]Array of timeline items to display.
orientationOrientationTypeOrientation of the timeline. "vertical" | "horizontal"
roleReact.AriaRoleOptional role override for the root element. Defaults to "list" when not provided.
roundingRoundingTypeRounding of the component. "none" | "small" | "medium" | "large" | "full"
shadowShadowTypeShadow style of the component. "none" | "light" | "medium" | "strong" | "intense"
themeThemeTypeTheme to apply for styling. "primary" | "secondary" | "tertiary" | "quaternary" | "clear"