Animations, Layout & Design, Navigation

Framer Update: Relative Overlays. Easily design dropdown navigations in Framer

Framer Update: Relative Overlays. Easily design dropdown navigations in Framer

Framer Update: Relative Overlays. Easily design dropdown navigations in Framer

Benjamin

·

10:21

·

36K views

·

About this lesson

Meet Relative Overlays—a completely new way to design navigations in Framer. Add dropdowns to any layer with Appear Effects, a Dynamic Safe Area, custom positioning, and more. Relative Overlays can be added to Frames, Text, and even Components. We’ve also updated all Navigations in the Insert Panel, and added new Menus that you can drop onto any layer to instantly create new Overlays. Design dropdowns, menus, and tooltips within minutes. Watch the video above for a complete overview, and head to https://nav.supply/ for brand new demos to remix.

https://www.youtube.com/watch?v=61l4M2nByIM&t=0s - Introduction to Relative Overlays

https://www.youtube.com/watch?v=61l4M2nByIM&t=28s - Adding a Dropdown Menu

https://www.youtube.com/watch?v=61l4M2nByIM&t=73s - The New Overlay Edit Mode

https://www.youtube.com/watch?v=61l4M2nByIM&t=147s - Overlays within Components

https://www.youtube.com/watch?v=61l4M2nByIM&t=194s - Adding Overlays from Scratch

https://www.youtube.com/watch?v=61l4M2nByIM&t=220s - Swapping Overlays with Menus

https://www.youtube.com/watch?v=61l4M2nByIM&t=313s - Replacing Overlays with Components

https://www.youtube.com/watch?v=61l4M2nByIM&t=458s - Switching Variants on Open

https://www.youtube.com/watch?v=61l4M2nByIM&t=512s - Dynamic Safe Area

https://www.youtube.com/watch?v=61l4M2nByIM&t=545s - Navigations in the Insert Menu

https://www.youtube.com/watch?v=61l4M2nByIM&t=589s - More Examples on Nav.Supply

🌞 Try Framer for free: https://framer.com

🎉 Follow on Twitter: https://twitter.com/framer

💎 Join Community: https://www.framer.community

0:00[Music]0:12yo my name is Benjamin and in this video0:16I'm super excited to introduce relative0:18overlays in framer this release makes it0:22much easier to design large navigations0:25with all sorts of drop- down menus so0:28let's have a look at what what's new0:31here I have a simple navigation it's0:34just a stack layer with a few text0:37layers within it and let's say we wanted0:40to add a drop- down menu to the product0:44item here with it selected I'll open the0:48insert panel and I'll head over to an0:51all new category called menus and this0:54includes a bunch of custom design menus0:57that serve as starting points for your0:59your navigation and I can simply click1:02and drag directly from the insert panel1:05onto our text layer and doing so1:09instantly adds it as a relative overlay1:13and this brings us directly into the new1:15edit mode and all the items within it1:19are directly customizable so these menus1:22should really save you a lot of time1:24manually setting up these common menu1:27layout patterns and on the right right1:30here we have a bunch of new properties1:32allowing us to customize our relative1:35overlays we can quickly play with things1:37like1:39alignment1:42positioning and different ways to1:45trigger and dismiss the overlay most1:48default values here are perfect for this1:50demo but I do want to add a little bit1:53more distance between the item and the1:55menu so I'll use the shift arrow down1:58keys to add some more distance and2:01that's really all we had to do so let me2:04zoom out a bit and let's hit the preview2:07button to see what we have so far as we2:10now hover over product our menu fades in2:15nicely and automatically dismisses again2:18as well and all of this essentially with2:21a single drag and drop I'll hit done to2:25exit the edit mode here and next let's2:28talk about comp components in real2:31projects you most often want this2:34navigation to be a component so you can2:37reuse it across all of your pages so2:39I'll hit command K to turn this into a2:42new component now you might be wondering2:45what happened to the relative overlay2:48that we made earlier so let's have a2:51look we designed an all new overlay edit2:54mode specifically for components2:57allowing you to design truly reusable2:59navigations with drop- down menus and3:03very similar to the edit mode on pages3:06you can preview in the top left corner3:10and you can exit from the top right next3:14let's also add a drop down to resources3:18but this time showing a little bit of a3:20different workflow I'll select the text3:23layer and then I'll head over to the3:25overlays property and this allows us to3:29add new relative overlays from scratch3:32and we give you this Frame that you can3:35customize to your liking and we also add3:38an appear effect by default but at this3:40point we might not know exactly the type3:43of menu we're after just yet so to allow3:46you to experiment with different types3:48of menus on the go we've also3:51implemented a swap feature so I can go3:54back to the insert menu and drag and3:57drop different menus Direct ly onto our4:00existing overlay to swap them and just4:04like before I can go ahead and customize4:07this menu right4:17away and I'll again bump this one down4:2020 extra pixels and with the menu4:23selected we can also customize the4:25appear effect that framer gives us so4:28let's also add a little bit of a scale4:31in animation to our appear effect then4:34I'll right click to copy this effect and4:38then we'll use the layer panel to4:40instantly jump to the previous overlay4:43and here we can simply right click and4:45paste the appear effect the ability to4:48jump between different overlays allows4:50you to easily keep them in sync and all4:53of this happens within a component so4:55it's all entirely reusable and if we now4:58give this a preview you can see that we5:01now have two overlay menus that each5:04appear on Hover and that have a nice5:07subtle skill in effect so those were the5:11basics of relative overlays next I'll5:14Transform this document into something5:17that's a little higher Fidelity to show5:19you what else we can do with this new5:22feature there are two major changes in5:25this setup one I componentized all the5:29links and this allows me to reuse them5:32in the mobile5:34version so we get these same links both5:38for the overlay and on the mobile menu5:42and we simply use variants to change the5:44styling between the two and the second5:47thing is that our triggers are now also5:51components with two simple variant one5:54for the default State or the closed5:57variant and one for the open state6:00called the open variant and here I've6:03simply changed the color of the text and6:06I flipped over the carrot as well so6:09let's go back to the6:11navigation and let's add an overlay to6:14the product6:16item and instead of customizing it I'll6:19quickly exit out of the edit mode here6:23I'll pan over to the product links6:27instance and I'll copy this6:33component then I'll go back into the6:37overlay I'll right click and I'll select6:40paste in place and this swaps the6:44default frame with our custom component6:47this is a super powerful feature as it6:50means you don't have to deal with any6:52nested layouts here and the links are6:55completely reusable the menu takes care6:58of all of the layout and styling and we7:00can focus on the overlay settings and7:04effects I have already set up a PA7:06effects for the resources and the7:09community links so I'll quickly grab the7:12appear effect from that7:15overlay and I'll paste it onto the one7:18we just7:21made all right now let's go back to the7:24homepage and give this a preview so our7:28menu is working7:29and everything is set up within reusable7:32components but our trigger here doesn't7:35update just yet so let's take a look at7:39how to switch the variant on open when7:42the trigger of your overlay is a7:45component with variants you get the7:48option to switch the variants whenever7:51the overlay is open it's very simple we7:55just get this single drop down here and7:58we can pick which VAR varant to show8:00alongside our8:01menu and again this is the variant we're8:04switching to and this is very powerful8:07because we can design anything in these8:10variants and animate between the two8:13with custom transitions so let's go back8:15to the preview and as you can see we now8:20have a trigger that's aware of the state8:22of our menu it animates to this state on8:26open and it animates back whenever we8:29dismiss the8:31menu now during this video you might8:34have noticed that even though we have a8:36gap between our trigger and our menu8:40framer is smart enough not to dismiss8:43our overlay menu when we move the cursor8:46from the trigger onto the menu and this8:49is thanks to our Dynamic save area we8:53calculate a safe area for your cursor to8:56travel within in real time so your menus8:59will never accidentally dismiss as9:02you're moving your cursor as a final9:05note I would also like to point out that9:07we've completely refreshed the9:09navigation section within our insert9:12menu as well you can simply drag and9:15drop one onto your desktop9:18breakpoint and it will adapt to your9:20existing breakpoints as well for example9:24this one has drop- down menus on the9:26desktop9:28breakpoint9:32and it scales down to a custom overlay9:35on mobile as well with all links neatly9:39set up within components as well so you9:41can rest assured that any edits you make9:44will instantly be reflected across all9:47of your breakpoints and if you'd like to9:49remix complete projects that are set up9:52end to endend you can find many more9:55custom navigation demos on nav dos9:58Supply as well well and that's pretty10:01much it for this video thank you so much10:04for watching we really hope you enjoy10:07using these new features and stay tuned10:10for more updates coming10:19soon

Watch on YouTube ↗

More in this topic

Framer Update: Logo Shaders2:05
Framer Update: Logo Shaders
Framer Update12K views · 1 month ago
8 Framer shortcuts you're probably sleeping on4:19
8 Framer shortcuts you're probably sleeping on
Layout & Design3K views · 2 months ago
Framer Update: Holo Shader1:46
Framer Update: Holo Shader
Framer Update6K views · 2 months ago
Framer Update: Stack Sorting and Bento Grids2:16
Framer Update: Stack Sorting and Bento Grids
Framer Update7K views · 2 months ago
Shader: Chromatic Aberration1:56
Shader: Chromatic Aberration
Framer Update7K views · 2 months ago
Framer Shaders2:28
Framer Shaders
Announcement23K views · 2 months ago
Sharing Vector Sets Across Projects (Vectors Lesson 7)3:41
Sharing Vector Sets Across Projects (Vectors Lesson 7)
Layout & Design1K views · 3 months ago
Connecting Vector Sets to the Framer CMS (Vectors Lesson 6)3:38
Connecting Vector Sets to the Framer CMS (Vectors Lesson 6)
Layout & Design2K views · 3 months ago

Create a free website with Framer, the website builder loved by startups, designers and agencies.