Skip to content

Photo Stack

A stack of printed photos that fans out when you hover; a click sends the top one to the back.

Plan
Free · MIT
Dependencies
React only
Props
5 (5 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
countnumber5Number of photos in the stack (2 to 5).
sizenumber172Width of each photo, in px.
fannumber12Degrees between one photo and the next when they fan out.
paperColorstring"#f6f2ea"Color of the photo paper.
fanOnHoverbooleantrueIf false, the fan stays open all the time.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { PhotoStack } from "furin-ui";

Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.

Dependencies

React
18 or later
Other libraries
none
License
MIT

Each file ships its own CSS: there's nothing else to install.

Keep exploring

  • A before/after comparison with a draggable glass divider.

    Galleries

  • Album covers in perspective with reflections: the center one faces you and the rest fan out. Arrows, drag with inertia, click and keyboard.

    Galleries

  • A column masonry grid that appears piece by piece as it scrolls into view, with a soft bounce and a flash; hovering a piece zooms it in and shows its title.

    Galleries