From our sponsor: Ready to show your plugin skills? Enter the Penpot Plugins Contest (Nov 15-Dec 15) to win cash prizes!
After our little draggable image strip experiment, we wanted to explore using the dragging functionality on a menu. The idea is to show a large inline menu with some scattered thumbnails. The menu can be dragged and while doing so, the thumbnails get moved with an animation. Each menu item also changes the letters to show an outlined version. When clicking on the “explore” link under a menu item, the thumbnails move and enlarge to form a grid.
The animations are powered by TweenMax and we use Dave DeSandro’s Draggabilly.
The initial view looks as follows:
When clicking on the explore link, we animate all thumbnails to their place in a custom grid.
Tiny break: 📬 Want to stay up to date with frontend and trends in web design? Subscribe and get our Collective newsletter twice a tweek.
You can see it in action here:
We hope you enjoy this menu and find it useful!
References and Credits
- Fonts used in the demo: Niveau Grotesk
- TweenMax by Greensock
- Draggabilly by Dave DeSandro
- imagesLoaded by Dave DeSandro
- Images from Unsplash.com