Timeline
Timelines present ordered events in a way that feels more narrative than a plain list.
Installation
Add the timeline component to your project:
Alpine.js Required: The timeline component uses Alpine.js for staged reveal animations.
Usage
Vertical Timeline
Timeline
Live preview rendered from the registry in an isolated iframe.
Loading preview...
Failed to load preview
Code
Timeline
Full preview from the registry iframe.
Loading preview...
Horizontal Timeline
Timeline
Live preview rendered from the registry in an isolated iframe.
Loading preview...
Failed to load preview
Code
Timeline
Full preview from the registry iframe.
Loading preview...
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items |
array |
[] |
Ordered timeline entries |
variant |
string |
'vertical' |
Layout mode: vertical or horizontal |
size |
string |
'md' |
Size preset |
lineStyle |
string |
'solid' |
Connector style: solid, dashed, or dotted |
animated |
bool |
true |
Enables staged reveal transitions |
alternating |
bool |
false |
Alternates sides in vertical mode |
Next Steps
- Explore Tabs component
- Learn about Progress Steps component
- View Stepper component