v0.0.2
Demos (demo panel, opens in a new tab)

Timeline

Shows a record's history in date order on a vertical line: an order history, a support ticket or an activity log.

zb:timeline zubazar/ui-pro

PRO

This component is in Zubazar UI Pro; Zubazar UI Pro brings Zubazar UI with it. Installing Zubazar UI Pro →

Basic usage

Basic usage: view
BLADE

Put the events in zb:timeline as zb:timeline.item; title is required and time is free text (such as "2 hours ago").

blade
<zb:timeline>
    <zb:timeline.item title="Delivered" time="12.09.2026 14:32">Package handed to the recipient at the door.</zb:timeline.item>
    <zb:timeline.item title="Shipped" time="11.09.2026 09:00">Package left the Kadıköy warehouse.</zb:timeline.item>
    <zb:timeline.item title="Order placed" time="10.09.2026 16:47" />
</zb:timeline>
PropValues
titleEvent title (required)
timeTime text to the right of the title

Colors

Colors: view
BLADE

Pick the dot's colour with color to match the outcome: success for done, danger for cancelled; the default is primary.

blade
<zb:timeline>
    <zb:timeline.item title="Delivered" time="12.09.2026" color="success" />
    <zb:timeline.item title="Recipient not available" time="10.09.2026" color="warning" />
    <zb:timeline.item title="Delivery canceled" time="08.09.2026" color="danger" />
    <zb:timeline.item title="Address updated" time="05.09.2026" color="info" />
    <zb:timeline.item title="Shipped" time="01.09.2026" />
    <zb:timeline.item title="Order placed" time="28.08.2026" color="secondary" />
</zb:timeline>
PropValues
colorprimary | secondary | success | danger | warning | info | dark (brand = primary, neutral = secondary)

Rich content

Rich content: view
BLADE

You can put an avatar, a badge or a link inside the item; with no content only the title line shows.

blade
<zb:timeline>
    <zb:timeline.item title="Delivered" time="12.09.2026 14:32" color="success">
        <div class="flex flex-wrap items-center gap-2">
            <zb:avatar name="Mehmet Kaya" size="xs" color="success" />
            <span>Received by Mehmet Kaya</span>
            <zb:badge variant="success">Express shipping</zb:badge>
        </div>
    </zb:timeline.item>
    <zb:timeline.item title="Invoice issued" time="05.09.2026 10:12" color="info">
        <a href="#" class="font-medium text-primary-ink hover:underline">invoice-ORD-10482.pdf</a>
    </zb:timeline.item>
    <zb:timeline.item title="Order placed" time="28.08.2026 16:47" color="secondary" />
</zb:timeline>
PropValues
(slot)Content below the title; not shown when empty

Props

The values the component takes. What are props and slots?

PropTypeDefaultDescription
timeline.item: title— — Event title (required)
timeline.item: time—nullTime text to the right of the title
timeline.item: color—primaryprimary · secondary · success · danger · warning · info · dark (brand = primary, neutral = secondary)

Slots: zb:timeline: the items. zb:timeline.item: content below the title (optional).

Developer notes

Events, hooks and details
  • Attributes such as class on zb:timeline.item go to the content box, not to the li.
Zubazar UI · ZubazarDesigned for people.