Skip to content
daisyBlazor

Timeline

A vertical daisyUI timeline of events. Each TimelineItem has a coloured dot or an Icon, a boxed main content and an optional ItemOpposite.
Data display.timeline
Cover · <Timeline>

  • 2022

    Public launch



  • 2024

    10,000 customers



  • 2026

    SOC 2 certified


Examples

Basic

Color and Size style the dot; ChildContent goes in the box.


  • Opened

    Ticket #418 from Contoso.



  • In progress

    Assigned to Priya Nair.



  • Resolved

    Fix shipped on Friday.


website/Examples/DataDisplay/TimelineBasicExample.razor Source

Icons

Icon replaces the dot.


  • Order placed


  • Payment confirmed


  • Packed and shipped


  • Delivered

website/Examples/DataDisplay/TimelineIconsExample.razor Source

Opposite content

ItemOpposite becomes a label above each box, since the timeline always renders compact.


  • v2.1
    Team workspaces


  • Usage-based billing
    v2.2


  • v2.3
    Single sign-on


  • Audit log
    v2.4

website/Examples/DataDisplay/TimelineOppositeExample.razor Source

API

<Timeline>

DaisyBlazor

Parameters

  • Reverse bool
    = false

    With Alternate, starts the alternation on the opposite side (first box on the start side).

  • TimelinePosition TimelinePosition
    = TimelinePosition.Alternate

    Where the boxes sit: Alternate (default) switches sides per item, Start/Left/Top keeps them after a start-edge line (compact), End/Right/Bottom before an end-edge line.

  • Class string
    = null

    Extra CSS classes merged onto the root element.

  • Style string
    = null

    Inline CSS styles applied to the root element.

Content

  • ChildContent RenderFragment

    The timeline items, rendered inside a vertical daisyUI timeline list.

<TimelineItem>

DaisyBlazor

Parameters

  • Color Color
    = Color.Default

    Color of the middle dot (e.g. bg-primary) or icon; defaults to a neutral bg-base-300 dot.

  • Icon string
    = null

    Material Symbols ligature shown in the middle instead of the dot.

  • Size Size
    = Size.Medium

    Size of the middle dot or icon (small, medium or large).

  • TimelineAlign TimelineAlign
    = TimelineAlign.Default

    Vertical alignment of the box and opposite content against the dot: Start (top), End (bottom) or Default (centred).

  • Class string
    = null

    Additional CSS classes merged onto the content box.

  • Style string
    = null

    Inline styles applied to the content box.

Content

  • ChildContent RenderFragment

    Main content shown in the timeline box; ignored when ItemContent is set.

  • ItemContent RenderFragment

    Main content shown in the timeline box; takes precedence over ChildContent.

  • ItemOpposite RenderFragment

    Content rendered on the opposite side of the line from the box (above the box in a compact Start timeline).

Something went wrong while running the docs. Reload