Gallery 21 - Fan of cards on hoverPro
A tidy stack of photo cards that fans out like a hand of playing cards on hover or tap, with the hovered card lifting above the rest.
About Gallery 21
A tidy stack of photo cards that fans out like a hand of playing cards on hover or tap, with the hovered card lifting above the rest.
Gallery 21 is a gallery block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 106 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- fan
- cards
- hover
- spring
- playful
Installation
- Set up your project with
npx chocolateui initandnpx chocolateui login(see the installation guide). - Run the Chocolate UI CLI:
npx chocolateui add gallery-21Dependencies installed automatically: motion.
Uses: button, motion-presets, reveal, utils.
Usage
import Gallery21 from "@/components/blocks/gallery-21"
export default function Page() {
return <Gallery21 />
}