Timelines

Visual sequences for displaying chronological events, progress updates, or step-by-step processes. Supports vertical and horizontal layouts with customizable markers and content sections.

Basic Timeline

Timelines are used to display a series of events in chronological order.

Preview
  • 1985
    Topher Born


  • College
    2006


  • 2010
    Married Marnie


  • Built LocoMotion
    2024
Code
= daisy_timeline do |timeline|
  - timeline.with_event(leading: "1985", middle_icon: "user-circle", trailing: "Topher Born")
  - timeline.with_event(leading: "College", middle_icon: "academic-cap", trailing: "2006")
  - timeline.with_event(leading: "2010", middle_icon: "cake", trailing: "Married Marnie")
  - timeline.with_event(leading: "Built LocoMotion", middle_icon: "code-bracket", trailing: "2024")

Custom Timeline

The leading, middle_icon, and trailing properties can be customized. Or you can provide a completely custom middle block.

Preview
  • 1985
    Born


  • 2006
    Graduated College


  • 2010
    Married
Code
= daisy_timeline do |timeline|
  - timeline.with_event do |event|
    - event.with_leading(css: "font-bold") do
      1985
    - event.with_middle do
      = loco_icon("check-circle/solid")
    - event.with_trailing(css: "timeline-box") do
      Born

  - timeline.with_event do |event|
    - event.with_leading(css: "font-bold") do
      2006
    - event.with_middle do
      = loco_icon("check-circle/solid")
    - event.with_trailing(css: "timeline-box") do
      Graduated College

  - timeline.with_event do |event|
    - event.with_leading(css: "font-bold") do
      2010
    - event.with_middle do
      = loco_icon("check-circle/solid")
    - event.with_trailing(css: "timeline-box") do
      Married
Made with by Profoundry .
Copyright © 2023-2026 Profoundry LLC.
All rights reserved.