Animations, Scroll

Navigations: Scroll Direction

Navigations: Scroll Direction

Navigations: Scroll Direction

Benjamin

·

3:11

·

14K views

·

About this lesson

In this Scroll Effects update, we’re introducing a new Trigger: On Scroll. Kickstart animations as soon as you scroll down or up—like fading out your navigation bar when people scroll down, so they can enjoy your content distraction-free. You can find a demo remix link here: https://navs-scroll-direction.framer.wiki/

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

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

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

0:00yo my name is Benjamin and in this video0:03I'm excited to introduce an update to0:07scroll effects allowing you to design0:09animations based on the scrolling0:12Direction Let's Dive Right In to take a0:15look at how this works here I have a0:18simple navigation bar that has position0:21set to fixed0:24so if we give this a preview you can see0:26that it stays in View and overlaps our0:29content0:30I would like this navigation bar to0:33animate out of view as soon as we scroll0:36down so people can enjoy the contents of0:40the page as soon as we scroll back up0:43wherever we are on the page the bar0:46should animate back in again so let's0:50start by adding a scroll effect I'll0:54open the menu and I'll click on scroll0:57animation the default trigger here is1:00layer in View and this allows you to1:03animate layers as soon as you scroll1:06past them or as they enter the viewport1:08with this release we're adding a new1:10trigger type called on scroll which you1:14can find here this scroll animation will1:18happen as soon as we scroll down or as1:21soon as we scroll up depending on the1:24direction property if replay is set to1:28no the animation would only happen once1:31I would like this animation to replay so1:35if we scroll down it animates out and if1:38we scroll back up it should animate back1:41in again and we've also refreshed our1:44presets allowing you to quickly1:46experiment with different animation1:48options before we go ahead and customize1:51our effect let's go into the preview and1:55see what we have so far so if we scroll1:57down it fades out and if we scroll back2:01up2:02our navigation Fades back into view so2:06the effect is working now let's go ahead2:08and customize the animation2:11we'll go back to our scroll animation2:14click on effect and here I'll customize2:18a few of the properties like setting2:20opacity to 1. and I'll set the Y offset2:24to be minus 64 pixels which is the2:28height of the navigation bar I'll also2:32customize the spring transition and that2:35should do the trick in just a few clicks2:39we've designed a new scroll animation2:42triggered by changes in the scrolling2:45Direction2:46a simple yet powerful addition to framer2:50unlocking even more common navigation2:54patterns that's it for this video thank2:58you so much for watching and stay tuned3:01for more Navigation updates coming soon

Watch on YouTube ↗

More in this topic

Framer Update: Logo Shaders2:05
Framer Update: Logo Shaders
Framer Update12K views · 1 month ago
Framer Update: Holo Shader1:46
Framer Update: Holo Shader
Framer Update6K 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
Framer Update: Flow Effect in Layout Templates2:12
Framer Update: Flow Effect in Layout Templates
Framer Update10K views · 3 months ago
Building an Expanding Article Stack in Framer13:14
Building an Expanding Article Stack in Framer
Animations4K views · 4 months ago
Scaling a clipped image on hover in Framer5:41
Scaling a clipped image on hover in Framer
Animations7K views · 5 months ago
Making elements revolve in Framer3:38
Making elements revolve in Framer
Animations5K views · 5 months ago

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