EN
Getting started
49 · Extended UI

Timeline

Shows the history of a record in chronological order along a vertical line. Suited to order history, support ticket workflows or activity logs.

PRO acun:timeline
01

Basic usage

List the events as acun:timeline.item inside acun:timeline. title is required; time is shown to the right of the title and is free text ("12.09.2026 14:32" or "2 hours ago"). The text you write inside the item appears below the title.

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

Colors

The dot color is set with color; if omitted, brand is used. Choose the color by the outcome of the event: success for completed work, warning for items that need attention, danger for cancellations and errors, neutral for system records.

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

Rich content

The content does not have to be plain text; you can add an avatar, a badge or a link. If the content is empty, only the title row is shown. Extra attributes such as class that you pass to acun:timeline.item are added to the content box, not to the li.

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

Props and slots

The values the component accepts.

PropDefaultDescription
timeline.item: title — Event title (required)
timeline.item: timenullTime text to the right of the title
timeline.item: colorprimaryprimary · secondary · success · danger · warning · info · dark (brand = primary, neutral = secondary)
Slots: acun:timeline: the items. acun:timeline.item: content below the title (optional).
Acun UI · TimelineDetailed usage and examples