• Get Started
    • Introduction
    • Installation
    • Theming
  • Layout
    • Drawer
    • Footer
    • Hero
    • Indicator
    • Join
    • Stack
    • Divider
  • Navigation
    • Breadcrumbs
    • Dock
    • Menu
    • Link
    • Navbar
    • Pagination
    • Steps
    • Tabs
  • Data Display
    • Accordion
    • Avatar
    • Badge
    • Calendar
    • Card
    • Carousel
    • Chat
    • Collapse
    • Countdown
    • Diff
    • Kbd
    • List
    • Mask
    • Mockup
    • Stat
    • Table
    • Timeline
  • Feedback
    • Alert
    • Loading
    • Modal
    • Progress
    • Skeleton
    • Status
    • Toast
    • Tooltip
  • Forms
    • Button
    • Checkbox
    • Dropdown
    • File Input
    • Fieldset
    • Filter
    • Input
    • Label
    • Radio
    • Range
    • Rating
    • Select
    • Toggle
    • Textarea
  • Effects
    • Hover 3D Card
    • Hover Gallery
    • Speed Dial
    • Swap
    • Text Rotate
    • Theme Controller
jsx daisyUI

    No recently viewed docs

  • Get Started
    • Introduction
    • Installation
    • Theming
  • Layout
    • Drawer
    • Footer
    • Hero
    • Indicator
    • Join
    • Stack
    • Divider
  • Navigation
    • Breadcrumbs
    • Dock
    • Menu
    • Link
    • Navbar
    • Pagination
    • Steps
    • Tabs
  • Data Display
    • Accordion
    • Avatar
    • Badge
    • Calendar
    • Card
    • Carousel
    • Chat
    • Collapse
    • Countdown
    • Diff
    • Kbd
    • List
    • Mask
    • Mockup
    • Stat
    • Table
    • Timeline
  • Feedback
    • Alert
    • Loading
    • Modal
    • Progress
    • Skeleton
    • Status
    • Toast
    • Tooltip
  • Forms
    • Button
    • Checkbox
    • Dropdown
    • File Input
    • Fieldset
    • Filter
    • Input
    • Label
    • Radio
    • Range
    • Rating
    • Select
    • Toggle
    • Textarea
  • Effects
    • Hover 3D Card
    • Hover Gallery
    • Speed Dial
    • Swap
    • Text Rotate
    • Theme Controller

© 2026 jsx-daisyui. All rights reserved. | Built with DaisyUI and React.

Timeline

Timeline is used to display a sequence of events along a horizontal or vertical axis.

Installation
npx jsx-daisyui add timeline

Default

timeline-default
  • First milestone

  • Second milestone

  • Third milestone

  • Final step

Vertical

timeline-vertical

Both sides

timeline-both-sides
  • Plan

  • DesignResearch

  • Build

  • Launch

Colored

timeline-colored

Props

Timeline.Root

PropTypeDefaultDescription
direction'horizontal' | 'vertical'-Layout direction of the timeline.
snapIconboolean-Allows snapping to the icon on scroll.
compactboolean-Reduces padding around the timeline items.

Timeline.Item

PropTypeDefaultDescription
firstboolean-Marks the item as the first in the timeline (hides top/left line).
lastboolean-Marks the item as the last in the timeline (hides bottom/right line).
lineColorstring-Custom color class for the connecting lines.

Timeline.Start & Timeline.End

PropTypeDefaultDescription
boxboolean-Wraps the content in a styled box.
  • 1984First Macintosh

  • 1998iMac

  • 2001iPod

  • 2007iPhone

  • 2010iPad
  • Order placed

  • Processing

  • Shipped

  • Delivered