Animations

Adding animated effects at the component level in Framer (Animation Lesson 12)

Adding animated effects at the component level in Framer (Animation Lesson 12)

Adding animated effects at the component level in Framer (Animation Lesson 12)

Joseph

·

3:11

·

8.7K views

·

About this lesson

By adding animation effects at the component level, we can ensure every instance of that component shares exactly the same polish. In this lesson, we’ll combine what you know about components with the Appear Effects we learned about at the beginning of the course. Animating at the component level keeps your design consistent, your workflow efficient, and is a great way to scale polish across your whole project.

https://www.youtube.com/watch?v=2OXLc3F00T8&t=0s Intro

https://www.youtube.com/watch?v=2OXLc3F00T8&t=18s Setting up component instances

https://www.youtube.com/watch?v=2OXLc3F00T8&t=80s Applying appear effects to a component

https://www.youtube.com/watch?v=2OXLc3F00T8&t=137s Previewing instances

https://www.youtube.com/watch?v=2OXLc3F00T8&t=167s Wrap up

Grab the remix link from Framer Academy: https://www.framer.com/academy/lessons/framer-animations-scroll-variants

Sign up: https://framer.link/yt

Follow: https://framer.link/yt-x

Learn: https://framer.link/yt-academy

0:00By adding animation effects at the0:02component level, we can ensure every0:04instance of that component shares0:06exactly the same polish. In this lesson,0:09we'll combine what you already know0:10about components with the appear effects0:12that we learned at the beginning of this0:14course.0:18Let me start by talking you through how0:19I have some things set up in the framer0:22project here. So on this page, you can0:24see I've got an instance of a component0:27called icon. And if I double click on0:29this, you can see there's just one0:30variant, but within that variant, I do0:32have some variables set up so that I can0:34tweak the appearance of this from page0:36to page. And if we go to one of the0:38other pages here, you can see this is0:40actually the very same component. I've0:43just gone in and tweaked some of the0:45variables so that I have a different0:47icon and I have some different colors.0:48But if I double click on it, you can see0:50that this is in fact the same icon. And0:54on our third page, which is called0:56events part two, we've got that same0:58icon again, and that has similar1:01overrides to the page before. But the1:04important thing is we've got three1:05instances of the same component on three1:08different pages. So if I'd like to apply1:10an appear effect, and I don't want to1:12have to do that three separate times, I1:14can actually do it within the component1:16itself. So I'm going to double click on1:18any one of these instances to go into1:20the component itself. And if we select1:22the parent frame of the variant, the1:24variant frame itself, and head down here1:27to effects like we normally would, and1:29add an appear effect, by doing so from1:32the variant frame, we're really doing1:34the equivalent of going and adding this1:36appear effect to each and every one of1:38those instances that we just saw. So,1:41let's tweak the settings here. I'm going1:43to start with the fade in preset, but1:44for the effect, I'm going to have it1:46start at a slightly larger scale. I'll1:48go 1.4 four or 140%. And for our1:52transition, I'm just going to have this1:53ease out. So, I'll go to the ease tab1:56and switch to the ease out preset. But1:58I'll make the time a little more1:59dramatic. I'll go to one full second.2:02So, it's going to come in full speed and2:03then it's going to slow down over the2:05course of 1 second. And if I press2:07command P here to preview it, I can2:09actually see it directly within the2:12component preview here. And if I reload,2:14you can see what that looks like a2:15couple more times. But where the real2:17magic happens is on those pages where we2:20have instances of this component. Now if2:22I press command P here from this page,2:24you could see that that appear effect is2:26on that instance. And if I go to one of2:28our other pages and preview that, there2:31it is. That appear effect is on this2:33instance as well. And naturally, if I go2:35to this third page and preview that,2:37we've got the appear effect on this2:39third instance as well. So, even if we2:41had hundreds of instances of this2:43component, we'd have them all taken care2:45of in one quick swoop. And there you2:48have it. Animating at the component2:50level keeps your design consistent, your2:52workflow efficient, and is a great way2:54to scale polish across your entire2:56project. That's it for this one. I'll2:59see you in the next one.

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.