Two items, paid by card.
Timeline
Events in order along a line — an order history, a release log, the steps of a process — vertical or horizontal, with content on one side, on both sides or alternating. The events are an ordered list for screen readers.
Basic
Each item of value is an event; the txTimelineContent template draws it. The empty opposite side keeps the line in the middle — fill it or narrow it as in the next examples.
- Ordered
- Processing
- Shipped
- Delivered
Alignment
align puts the content on the left (default), on the right, or swaps sides on every other event with alternate.
Left
- Ordered
- Processing
- Shipped
- Delivered
Right
- Ordered
- Processing
- Shipped
- Delivered
Alternate
- Ordered
- Processing
- Shipped
- Delivered
Opposite
txTimelineOpposite fills the other side of the line — a date or a time next to each event.
- 15/10/2026 10:30Ordered
- 15/10/2026 14:00Processing
- 15/10/2026 16:15Shipped
- 16/10/2026 10:00Delivered
Horizontal
layout="horizontal" lays the events out in a row. align keeps the line above the content (top, default), below it (bottom) or switches on every other event (alternate).
- 2023
- 2024
- 2025
- 2026
- 2023
- 2024
- 2025
- 2026
- 2023
- 2024
- 2025
- 2026
Template
txTimelineMarker replaces the dot — here an icon in a circle of the event tone — and the content template draws a card for each event.
- 15/10 10:30
Ordered Step - 15/10 14:00
Processing Step Packed at the north warehouse.
- 15/10 16:15
Shipped Step Handed to the courier, tracking sent.
- 16/10 10:00
Delivered Done Signed for at the front desk.
Connector
txTimelineConnector draws the line from an event to the next one — solid after finished steps, dashed after the rest. pt narrows the empty opposite side so the line sits at the start.
- Account created
- Domain verified
- Team invited
- First project published
Design tokens
dt changes the marker, the line and the event height of one timeline.
- Ordered
- Processing
- Shipped
- Delivered
Pass through
pt adds classes and styles to the parts — here a fixed-width date column and more space under each release.
- Nov 20262.4.0
- Sep 20262.3.1
- Aug 20262.3.0
- May 20262.2.0