Timeline

Time-series list wrapping daisyUI 5 timeline class. Pass items array. orientation (vertical/horizontal), compact (one-side align), snap (icons snap top), appearance (solid default / soft) modifiers. Add state=done|current|upcoming to items for icon and connector color changes. solid (default) makes done chain prominent; appearance="soft" is opt-in for a gentler look.

Pass an items array (vertical is the default)

  • 10/01 09:12
    Order received
    Thank you for your order


  • 10/01 10:30
    Payment confirmed
    Paid by credit card


  • 10/02 14:00
    Preparing shipment
    Packing at the warehouse


  • 10/03 16:45
    Delivered
    Left with the recipient
<x-timeline :items="[
    ['title' => 'Order received',     'time' => '10/01 09:12', 'desc' => 'Thank you for your order'],
    ['title' => 'Payment confirmed',  'time' => '10/01 10:30', 'desc' => 'Paid by credit card'],
    ['title' => 'Preparing shipment', 'time' => '10/02 14:00', 'desc' => 'Packing at the warehouse'],
    ['title' => 'Delivered',          'time' => '10/03 16:45', 'desc' => 'Left with the recipient'],
]" />
Loading…
Couldn't load the HTML

orientation=horizontal — 4 steps side by side

  • Step 1
    Cart


  • Step 2
    Shipping


  • Step 3
    Payment


  • Step 4
    Done
<x-timeline orientation="horizontal" :items="[
    ['title' => 'Cart',     'time' => 'Step 1'],
    ['title' => 'Shipping', 'time' => 'Step 2'],
    ['title' => 'Payment',  'time' => 'Step 3'],
    ['title' => 'Done',     'time' => 'Step 4'],
]" />
Loading…
Couldn't load the HTML

compact: pins every item to one side

  • 2025/06
    Requirements
    Client hearing complete


  • 2025/07
    Design
    API and data model finalized


  • 2025/08
    Implementation
    Core feature development


  • 2025/09
    Release
    Shipped to production
<x-timeline compact :items="[
    ['title' => 'Requirements',   'time' => '2025/06', 'desc' => 'Client hearing complete'],
    ['title' => 'Design',         'time' => '2025/07', 'desc' => 'API and data model finalized'],
    ['title' => 'Implementation', 'time' => '2025/08', 'desc' => 'Core feature development'],
    ['title' => 'Release',        'time' => '2025/09', 'desc' => 'Shipped to production'],
]" />
Loading…
Couldn't load the HTML

snap: snaps the middle icon to the top

  • Week 1
    Research
    Market research and competitor analysis


  • Week 2
    Prototype
    MVP UI in Figma


  • Week 3
    User test
    Five moderated sessions


  • Week 4
    Implementation
    Build the validated flow
<x-timeline snap :items="[
    ['title' => 'Research',       'time' => 'Week 1', 'desc' => 'Market research and competitor analysis'],
    ['title' => 'Prototype',      'time' => 'Week 2', 'desc' => 'MVP UI in Figma'],
    ['title' => 'User test',      'time' => 'Week 3', 'desc' => 'Five moderated sessions'],
    ['title' => 'Implementation', 'time' => 'Week 4', 'desc' => 'Build the validated flow'],
]" />
Loading…
Couldn't load the HTML

state per item: done / current / upcoming changes icon & connector color

  • 10/01 09:12
    Order received
    Completed


  • 10/01 10:30
    Payment confirmed
    Completed


  • 10/02
    Preparing shipment
    In progress


  • scheduled
    Delivery
    Not started


  • scheduled
    Receipt confirmed
    Not started
<x-timeline :items="[
    ['title' => 'Order received',     'time' => '10/01 09:12', 'desc' => 'Completed', 'state' => 'done'],
    ['title' => 'Payment confirmed',  'time' => '10/01 10:30', 'desc' => 'Completed', 'state' => 'done'],
    ['title' => 'Preparing shipment', 'time' => '10/02',       'desc' => 'In progress', 'state' => 'current'],
    ['title' => 'Delivery',           'time' => 'scheduled',   'desc' => 'Not started', 'state' => 'upcoming'],
    ['title' => 'Receipt confirmed',  'time' => 'scheduled',   'desc' => 'Not started', 'state' => 'upcoming'],
]" />
Loading…
Couldn't load the HTML

appearance — solid (default, saturated) vs soft (opt-in, muted)

  • done
    Step 1


  • done
    Step 2


  • done
    Step 3


  • current
    Step 4


  • upcoming
    Step 5
  • done
    Step 1


  • done
    Step 2


  • done
    Step 3


  • current
    Step 4


  • upcoming
    Step 5
<x-timeline :items="[
    ['title' => 'Step 1', 'time' => 'done',     'state' => 'done'],
    ['title' => 'Step 2', 'time' => 'done',     'state' => 'done'],
    ['title' => 'Step 3', 'time' => 'done',     'state' => 'done'],
    ['title' => 'Step 4', 'time' => 'current',  'state' => 'current'],
    ['title' => 'Step 5', 'time' => 'upcoming', 'state' => 'upcoming'],
]" />
<x-timeline appearance="soft" :items="[
    ['title' => 'Step 1', 'time' => 'done',     'state' => 'done'],
    ['title' => 'Step 2', 'time' => 'done',     'state' => 'done'],
    ['title' => 'Step 3', 'time' => 'done',     'state' => 'done'],
    ['title' => 'Step 4', 'time' => 'current',  'state' => 'current'],
    ['title' => 'Step 5', 'time' => 'upcoming', 'state' => 'upcoming'],
]" />
Loading…
Couldn't load the HTML

solid (left) = default text-primary / bg-primary. soft (right) = the done icon becomes text-primary/70 and the connector bg-primary/30 for a muted look.