Animations
Framer Update: New Effects
Framer Update: New Effects
Framer Update: New Effects
Benjamin
·
8:49
·
47K views
·
About this lesson
This release introduces brand new Effects: Hover, Press, Loop, and Drag. These make it incredibly easy to add high-fidelity interactions and animations to your site—all it takes is a few clicks. All animations are powered by Motion, so they’re very performant yet extremely customizable. All new Effects can be mixed and matched, meaning the possibilities are endless. To get started, check out our playground, which you’re free to remix. https://fx-playground.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 very excited to introduce all new0:06effects in framer we're extending our0:10family of scroll and appear effects with0:13four new ones hover drag Loop and press0:18and you can combine these to design all0:21new interactions0:22so let's jump into our demo project and0:25have a look at what's new0:28so in this playground project I have0:31cards for each new effect that we can go0:34over0:35I'll start by selecting the a rectangle0:38in the hover card0:40I'll click on the effects panel0:42and here you can find all new effects0:46and I'll go ahead and select the hover0:48one0:50and this brings us into the redesigned0:53effects panel0:55we've simplified the UI allowing us to0:58add more properties for you to customize1:02as you can see here I can tweak1:04properties like skill and rotation and1:09you get a nice real-time preview on the1:11canvas these are the properties that the1:15layer will animate to on Hover you could1:18also add a 3D rotation or an offset X1:22and Y respectively and we have a few new1:26properties like fill and Shadow that you1:28could work with but for now we're1:30keeping it to scale and rotate we can1:33also customize the transition1:36and let's go ahead and give that a1:39preview1:41I'll scroll down to the card and just1:45like that we've added a hover1:47interaction you can still use components1:50with hover variants as well1:52but with this release you're no longer1:55forced to use components if all you're1:57after is a simple hover effect2:00let's move on to drag effects2:03I'll select the badge and add a new drag2:07effect here we have a unique set of2:10properties that all relate to dragging2:13I'll keep free form and Snapback to yes2:15and I'll tweak the transition just a2:18little bit and let's just go ahead and2:20give this a preview2:23and there we go we have a nice bouncy2:27dragging interaction because the2:29freeform property is set to yes we can2:33drag the layer anywhere there are no2:35dragging constraints and because we kept2:38Snapback set to yes as well it means2:41that on drag and the layer will animate2:44back to its original position using the2:48transition options we customized earlier2:51now you might have noticed this already2:53but with this release we added a little2:56layer panel indicator highlighting any2:59layer that has an effect applied3:03next let's have a look at my favorite3:06new effect the loop effect3:09I'll select the first knob of our3:12sliders here3:13I'll add a loop effect Now by default3:17this rotates something infinitely and so3:20I'm gonna reset rotate to zero and3:24instead I'll use the offset X property3:27to move our layer all the way to the3:29left if we zoom in a bit I'll do the3:32same for the second knob I'll reset3:37rotate and then I'll move the offset X3:41to a positive value making sure it3:43aligns to the right hand side3:46I'll keep the rest of these settings as3:49they are for now3:51so we can preview this to get a better3:53understanding of how Loop works3:57so we see that the knobs now correctly4:00animate to their respective positions4:03but the looping is instant for a more4:07natural feel we would like to set the4:09type to mirror on both of these layers4:13and if we jump back into the preview you4:17can see that they now bounce back and4:19forth4:20now because they represent sliders we4:23can use a different transition like a4:27spring curve4:31and I'll apply the same spring curve to4:35the other layer as well4:41and now we can jump back to the preview4:43again so this is feeling a bit better4:46but it's way too fast4:49so there are two things we can do4:52first we'll decrease the stiffness value4:55of our Springs making it a bit smoother4:58and if we give that a quick preview5:01that's feeling a little bit better5:03already5:05and the second thing we can do is add a5:08short delay between each Loop5:11I'll add a delay of 0.5 seconds5:15and there we go you can use the loop5:19effect to add all sorts of playful5:21animations to your website in just a few5:25clicks5:26next let's have a look at the Press5:29effect I'll select the layer over here5:31and I'll add a press effect it defaults5:35to setting scale to 0.9 meaning it will5:39work really nicely in combination with5:41the hover effect out of the box I'll5:44also set rotate to -90 and we can tweak5:49the transition a little bit so as soon5:51as I click or press down onto the layer5:56it animates to our press effect and as5:59soon as I release the click or on Mouse6:03up it animates back to its original6:06state finally let's have a look at how6:09we can combine all four effects onto a6:13single layer so here I'll add one of6:16each effect6:18for the loop one I'll go ahead and set6:21the time to 2 seconds but I'll keep the6:24default rotation for the drag effect6:27I'll set freeform to no this allows me6:31to define a section to serve as the drag6:34constraints the apparent layer of the6:37pinwheel is defined as a section called6:40card and by referencing it in the drag6:44effect we can make sure that the6:46pinwheel cannot be dragged or tossed6:48outside of the card with momentum set to6:52yes our draggable layer will have some6:54simulated physics it will take our6:57dragging velocity into account meaning6:59we can toss the layer around within our7:02card if you drag or toss a layer outside7:05of its constraints it will quickly7:07animate back to its actual constraints7:10with the transition property here you7:13can customize that transition so this7:16layer has all four effects applied wide7:18it gets upskilled on Hover downskilled7:21on press it infinitely rotates and it is7:25draggable within our card let's have a7:28look at the final result I'll scroll7:30down to the final card and you can see7:33it skills up on Hover it kills down on7:37press it infinitely loops around and I7:41can both drag and toss it around within7:44our card I can throw it into any corner7:47for example and it will nicely bounce7:49off of the sides using the transition we7:52defined earlier framer is also smart7:55about which default cursors it assigns7:58with layers that have effects for8:00example if you have a draggable layer we8:03give it a grab cursor on Hover and a8:06grabbing cursor while you're dragging8:08the layer these new effects make it so8:11much easier to add High Fidelity8:13animations and interactions to your8:16websites in framer they they are very8:18performant yet easy to add and customize8:21and we're super excited to share them8:23with you that's pretty much it for this8:25video thank you so much for watching I8:28hope you enjoyed it and stay tuned for8:31more updates coming soon
More in this topic
Framer Update: Logo Shaders
Framer Update12K views · 1 month ago
Framer Update: Holo Shader
Framer Update6K views · 2 months ago
Shader: Chromatic Aberration
Framer Update7K views · 2 months ago
Framer Shaders
Announcement23K views · 2 months ago
Framer Update: Flow Effect in Layout Templates
Framer Update10K views · 3 months ago
Building an Expanding Article Stack in Framer
Animations4K views · 4 months ago
Scaling a clipped image on hover in Framer
Animations7K views · 5 months ago
Making elements revolve in Framer
Animations5K views · 5 months ago