Vertical timeline display.
import { Timeline, TimelineItem } from "@/components/ui";Your order has been confirmed
We are preparing your order
Your order is on the way
Expected by tomorrow
<Timeline>
<TimelineItem
title="Order Placed"
description="Your order has been placed successfully."
time="2 hours ago"
/>
<TimelineItem
title="Processing"
description="Your order is being processed."
time="1 hour ago"
/>
<TimelineItem
title="Shipped"
description="Your order has been shipped."
time="Just now"
/>
</Timeline>Add icons to timeline items
<Timeline> <TimelineItem icon="ShoppingCart" title="Order Placed" description="Order #12345 was created" time="Dec 15, 2024" /> <TimelineItem icon="Package" title="Order Shipped" description="Package left the warehouse" time="Dec 16, 2024" /> <TimelineItem icon="Truck" title="Out for Delivery" description="Your package is on its way" time="Dec 17, 2024" /></Timeline>Items alternate sides
<Timeline alternating> <TimelineItem title="2020" description="Company founded" /> <TimelineItem title="2021" description="First product launch" /> <TimelineItem title="2022" description="Series A funding" /> <TimelineItem title="2023" description="Global expansion" /></Timeline>Configure your app with the features you need and download production-ready code.
Start Configuring