Horizontal Scroll
A pinned section whose row of cards travels sideways as you scroll down, with a progress bar. On touch screens, small or short viewports, reduced motion and in print it's a native swipeable row with snap points.
Installation
pnpm dlx shadcn@latest add @portfolio-kit/horizontal-scrollFirst 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
Photo Series
A photographer’s series as a sideways filmstrip: portrait and landscape frames share one height, each with a numbered caption.