Skip to content

Photo Stack

A pile of 3–5 photos that fans out on hover or keyboard focus. Click, tap or press Enter to send the top photo to the back.

UsesMedia

Installation

pnpm dlx shadcn@latest add @portfolio-kit/photo-stack
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

Landscape

Three landscape photos without a caption. Set ratio and widen the stack with className for travel or event shots.

Beside Text

The stack as the personal touch of an about section, beside a short “off the clock” paragraph.

API Reference