Skip to content

Image Trail

Images that spawn along the cursor's path and fade out behind it, over a hero or section. Touch screens and reduced motion get a still collage instead.

Installation

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

In a Card

A denser, straighter trail inside a contact card. Lower threshold packs images closer; rotation={0} keeps them square to the grid.

API Reference