Skip to content

Timeline

Free

Shows events in order on one vertical line, such as an order history, an activity feed, or a changelog. Each event is done, current, upcoming, or an error.

  • Base UI
  • React 19
  • Tailwind CSS 4

Added Nov 8, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Each TimelineItem holds a TimelineMarker and a TimelineContent. Pass dateTime on TimelineTime, also when the text is not a date.

order-history.tsx

Timeline

<ol>
PropTypeDefaultDescription
size"default""sm""default"
...props<ol> attributes—Every other attribute goes to the <ol>, with a ref.

TimelineItem

<li>
PropTypeDefaultDescription
status"current""done""error""upcoming""done"Where the event is in a process. done (default): it happened; an activity feed uses only this. current: the step in progress, with aria-current="step". upcoming: not yet; a hollow mark, a dashed line into it, and a muted title. error: it failed; a destructive mark. Color is never the only signal: the title says the status in words.
...props<li> attributes—Every other attribute goes to the <li>, with a ref.

TimelineMarker

<div>
PropTypeDefaultDescription
variant"avatar""dot""icon""dot"
childrenReactNode—
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TimelineContent

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TimelineHeader

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TimelineTitle

<div>
PropTypeDefaultDescription
From Base UIUseRenderBase UI docs
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TimelineTime

<time>
PropTypeDefaultDescription
From Base UIUseRenderBase UI docs
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
...props<time> attributes—Every other attribute goes to the <time>, with a ref.

TimelineDescription

<p>
PropTypeDefaultDescription
...props<p> attributes—Every other attribute goes to the <p>, with a ref.
  • Use it when the order of events is part of the meaning.
  • Use status on TimelineItem for done, current, upcoming, or error.
  • Use variant on TimelineMarker for a dot, an icon, or an avatar.
  • Use size="sm" for a tighter list.
  • For steps that a person works through, use a Stepper.
  • For facts with no order, use a Data List.

It is a list, and each event is a list item.

A current item sets aria-current="step". Use one per list.

Color is not enough: say the status in the title, such as "Tests failed".

Built with

Installs with Timeline

Components
Dot
  1. AddedTimeline, with Dot.
Open the release