In this video i'll show you how to create and prototype dropdown menus and submenus on hover and addressing some challenges like when you place dropdowns a few pixels away from the interaction triggers and etc..
It can be harder than it seems because when you have a gap between the element that triggers the hover and the overlay, for example, when your mouse hits that gap, the interaction will cancel itself and that's what makes it a bit tricky and also the fact that you can't bundle certain interactions to the same component.
🔗 Figma link: www.figma.com/community/file/...
* Just click on the blue "Get a copy" on the top right and have fun!
🔗 Master plugin links:
- Figma: www.figma.com/community/plugi...
- Website: dominate.design/
⏰ Timestamps
00:00 intro & final result overview
00:32 set up walkthrough
01:00 componetizing the navigation
02:52 making the nav item hover behavior
03:42 adding component property to nav item
05:10 creating dropdown menu item component
07:32 setting up the dropdown interactions (ON CLICK)
08:20 setting up the dropdown interactions (ON HOVER)
10:40 componetizing the dropdown menu
11:32 tip auto layout is great for organizing things
11:47 adding component interactions to the dropdown menu component
14:20 finalizing all the interactions + challenges
Follow me on twitter:
🐥 deereis
Thank you for watching!! 🙏
13 июл 2024