Skip to content

Timeline

Milestones on a vertical or alternating rail with dates, icons or media, a current step, and dots that can fill as they scroll into view.

Installation

pnpm dlx shadcn@latest add @portfolio-kit/timeline
First time? Add the @portfolio-kit registry to components.json
components.json
{
  "registries": {
    "@portfolio-kit": "https://www.parthjadhav.com/products/portfolio-kit/r/{name}.json"
  }
}

Usage

Examples

Alternating

Items zig-zag either side of a centre line on desktop and collapse to a single rail on phones.

With Media

Attach a screenshot or artwork to any milestone, for a project changelog or launch history.

Fill on Scroll

With fillOnView, each dot fills with the highlight as its milestone scrolls into view. Scroll the preview to see it.

API Reference