Timeline
Timeline. It is copied into your app’s ui/ by qatjs add timeline: the code is yours to edit.
Example
- Delivered
- Handed to Azərpoçt09:58
- Placed09:41
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
npx qatjs add timelineTimeline
As a custom element: <ui-timeline>.
| Prop | Type | Attribute |
|---|---|---|
items | TimelineItem[] | property only |
label | string | yes |