qat

Timeline

Timeline. It is copied into your app’s ui/ by qatjs add timeline: the code is yours to edit.

Example

  1. Delivered
  2. Handed to Azərpoçt09:58
  3. Placed09:41
Example.qx14 linesOpen in the playground
import Timeline from './ui/timeline/timeline.qx'

export default function Example() {
  return (
    <Timeline
      label="History"
      items={[
        { title: 'Delivered', time: '11:12', datetime: '2026-10-23T11:12', tone: 'success' },
        { title: 'Handed to Azərpoçt', time: '09:58' },
        { title: 'Placed', time: '09:41' },
      ]}
    />
  )
}

Add it

shell1 line
npx qatjs add timeline

Timeline

As a custom element: <ui-timeline>.

Timeline: props
PropTypeAttribute
itemsTimelineItem[]property only
labelstringyes