Timeline
Events in order along a line, with done, current and upcoming states.
import { Timeline, TimelineItem } from "pleate/timeline";Booking status and day plan
Booking HT-2041
- 2 MayBooking confirmedConfirmation sent to sofia@rossi.it
- 3 MayPayment received€384 charged to Visa ending 4242
- TodayCheck-in opensOpen until 2 hours before departure
- 12 JuneDeparture
Saturday in Lisbon
- 09:40Land in Lisbon
- 11:30Check in at Alfama flat
- 13:00Lunch at Time Out MarketTable for 4 under Rossi
- 16:00Tram 28 to Graça
Props
- title / time / description
Content.
ReactNode- status
Marker and line style; current gets aria-current.
"done" | "current" | "upcoming"default "done"- tone / icon
Marker color and glyph.
"accent" | "success" | "warning" | "danger" / ReactNode