From our sponsor: Meco is a distraction-free space for reading and discovering newsletters, separate from the inbox.
Today I’d like to share a little layout animation with you. It’s inspired by the design of Sturdy’s client showcase. Initially, we have a row based menu layout which shows some thumbnails on hover. Using the GSAP’s flip plugin, we animate the row to a content preview with larger images which fly to their position in a grid.
Here’s the initial view:
![](https://codrops-1f606.kxcdn.com/codrops/wp-content/uploads/2022/09/MenutoGrid01.jpg?x86293)
When hovering, some images appear on the right side. Once we click, the thumbnails animate to form a grid and some additional grid items appear:
![](https://codrops-1f606.kxcdn.com/codrops/wp-content/uploads/2022/09/MenutoGrid02.jpg?x86293)
Here is how it all comes together:
I hope you enjoy this little animation and find it useful!