Responsive Image Accordion Component for React and TailwindResponsive Image Accordion Component for React and Tailwind
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
New component on StackD: Image accordion.
Point at a picture and it opens. The others give up exactly the room it takes, so the frame never changes size. The neighbours open a little too, so the whole set leans toward your cursor on a soft spring.
It has three layouts: a grid (it opens the row and the column, like a lens moving over a contact sheet), rows and columns. Pictures are cropped, never stretched. It works with mouse, touch and keyboard, and comes as React + Tailwind code plus a Figma file.
Would you use it for a portfolio, a team page or a product range?
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started