Skip to content
Image Effects

ImageStack

A loose pile of pictures. Throw the top one aside, click it, or use the arrow keys, and it slides back under the pile.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
imagesImageStackItem[]—Two or more pictures, each with src and alt. The first is on top.
labelstring"Stack of pictures"Read by screen readers.
classNamestring"aspect-[4/5] w-64"Set the size here. The cards fill this box.