Skip to content
aq-ui
Back to ComponentsComponent

Timeline

Semantic, RTL-safe timeline primitives for events, status history, and activity feeds.

Preview

This is a live example. Interact with the available controls and use the keyboard to inspect the component's states and behavior.

Loading interactive preview…

Installation

pnpm dlx aq-ui@alpha add timeline

API reference

SSR-safe

Import the parts you need, then jump to an export for its contract.

View full source

Quick start

import { Timeline } from "@/components/ui/timeline"

<Timeline />

Timeline

constSource L5

Semantic, RTL-safe timeline primitives for events, status history, and activity feeds.

const Timeline = React.forwardRef<React.ComponentRef<"ol">, React.ComponentProps<"ol">>(…)
Props type
React.ComponentProps<"ol">
<Timeline />

TimelineConnector

constSource L56

Public const export from Timeline.

const TimelineConnector = React.forwardRef<React.ComponentRef<"span">, React.ComponentProps<"span">>(…)
Props type
React.ComponentProps<"span">
<TimelineConnector />

TimelineContent

constSource L75

Content export for composing Timeline.

const TimelineContent = React.forwardRef<React.ComponentRef<"div">, React.ComponentProps<"div">>(…)
Props type
React.ComponentProps<"div">
<TimelineContent />

TimelineDescription

constSource L105

Description export for composing Timeline.

const TimelineDescription = React.forwardRef<React.ComponentRef<"p">, React.ComponentProps<"p">>(…)
Props type
React.ComponentProps<"p">
<TimelineDescription />

TimelineItem

constSource L20

Item export for composing Timeline.

const TimelineItem = React.forwardRef<React.ComponentRef<"li">, React.ComponentProps<"li">>(…)
Props type
React.ComponentProps<"li">
<TimelineItem />

TimelineMarker

constSource L38

Public const export from Timeline.

const TimelineMarker = React.forwardRef<React.ComponentRef<"span">, React.ComponentProps<"span">>(…)
Props type
React.ComponentProps<"span">
<TimelineMarker />

TimelineTime

constSource L120

Public const export from Timeline.

const TimelineTime = React.forwardRef<React.ComponentRef<"time">, React.ComponentProps<"time">>(…)
Props type
React.ComponentProps<"time">
<TimelineTime />

TimelineTitle

constSource L90

Title export for composing Timeline.

const TimelineTitle = React.forwardRef<React.ComponentRef<"h3">, React.ComponentProps<"h3">>(…)
Props type
React.ComponentProps<"h3">
<TimelineTitle />

Registry dependencies

utils

Files

  • components/ui/timeline.tsx

Source