Timeline

Timeline component documentation for Velyx. Installation, event stream usage examples, and customization guidance for Laravel Blade, Alpine.js, Livewire, and Tailwind CSS v4.

Timeline

Timelines present ordered events in a way that feels more narrative than a plain list.

Installation

Add the timeline component to your project:

npx velyx@latest add timeline
pnpm dlx velyx@latest add timeline
yarn dlx velyx@latest add timeline
bunx --bun velyx@latest add timeline

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.

Open preview

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.

Open preview

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