Timeline

Displays a chronological sequence of events or steps in a vertical or horizontal layout.

Loading...

Installation

$npx shadcn@latest add @craftdotui/craftui-timeline

Anatomy

<TimelineRoot>
  <TimelineItem>
    <TimelineMarker />
    <TimelineConnector />
    <TimelineContent>
      <TimelineTime />
      <TimelineTitle />
      <TimelineDescription />
    </TimelineContent>
  </TimelineItem>
</TimelineRoot>
<Timeline.Root>
  <Timeline.Item>
    <Timeline.Marker />
    <Timeline.Connector />
    <Timeline.Content>
      <Timeline.Time />
      <Timeline.Title />
      <Timeline.Description />
    </Timeline.Content>
  </Timeline.Item>
</Timeline.Root>

Demo

Filled Markers

Loading...

Horizontal

Loading...

With Time

Loading...

With Icons

Loading...

Props

TimelineRoot

Prop
Type
Default

TimelineItem

Prop
Type
Default

TimelineConnector

Prop
Type
Default

TimelineMarker

Prop
Type
Default

TimelineContent

Prop
Type
Default

TimelineTitle

Prop
Type
Default

TimelineDescription

Prop
Type
Default

TimelineTime

Prop
Type
Default