Animations

Animating text in Framer (Animation Lesson 17)

Animating text in Framer (Animation Lesson 17)

Animating text in Framer (Animation Lesson 17)

Joseph

·

8:37

·

16K views

·

About this lesson

Animated text can add drama, energy, or rhythm to your message.

In this lesson, we’ll explore the Text Effect in Framer and how to bring those headlines, bullets, or even body copy to life.

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

https://www.youtube.com/watch?v=yxQhLc1AsdY&t=62s Add the text effect & choose triggers

https://www.youtube.com/watch?v=yxQhLc1AsdY&t=79s Presets and per-character/word/line options

https://www.youtube.com/watch?v=yxQhLc1AsdY&t=165s Customizing the effect

https://www.youtube.com/watch?v=yxQhLc1AsdY&t=252s Previewing the heading animation

https://www.youtube.com/watch?v=yxQhLc1AsdY&t=289s Animating the paragraph

https://www.youtube.com/watch?v=yxQhLc1AsdY&t=382s Comparing per word vs per character

https://www.youtube.com/watch?v=yxQhLc1AsdY&t=487s Wrap up

Grab the remix link on Framer Academy: https://www.framer.com/academy/lessons/framer-animations-text-effects

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

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

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

0:00Animated text can [music] add drama,0:02energy, or rhythm to your message. In0:05this lesson, we'll explore the text0:06effect in Framer [music] and how to0:08bring those headings, bullets, and even0:10body copy to life. [music]0:15To add a text effect in the first place,0:17we just need to make sure that we have a0:19text layer selected. Otherwise, it won't0:22even show up on the properties panel.0:24So, hopping into our project file here,0:26I've got a text box with a heading, and0:28I've got a text box with some body copy.0:30I'm going to start with the heading. And0:32with this text box selected, we can just0:34come over here to the properties panel,0:36click on effects, and because we have a0:39text layer selected, we see the text0:41effect as an option. If I click on that,0:44I get the popover with some familiar0:46settings. We get trigger where we get to0:48choose from on appear, layer in view, or0:51section in view. So essentially, we've0:53got our appear effects for text and0:55we've got our scroll effects for text0:57all built into this one effect that1:00shows up in this one popover. Since the1:02text I have here on this page is above1:04the fold, meaning we don't have to1:06scroll to see it, I'm just going to do1:08the onappear trigger. So that way the1:10text effect happens as soon as the page1:12loads. And then we get some preset1:15animations to choose from. We have1:16things like blur, flip, shake, etc. I'm1:19going to stick with blur as my starting1:21point. But then arguably the most1:24important property here for text effects1:26is that we get to decide if we want to1:28animate per character, word, line, or1:32element. So with this set to character,1:35you can see in the little preview above1:36that our blur effect is happening to1:39each individual character with a little1:41bit of a stagger between each character1:44animating in. Depending on which option1:46you choose here, you might also notice a1:49slight difference in the kerning between1:51some of the characters depending on1:53which font you're using. For example,1:55here if I set character, we've got a1:57little bit more kerning here between the1:59T and the E. But if I set this to word,2:02we don't. And that has to do with the2:04way the text is being diced up behind2:06the scenes to make the individual pieces2:08animate. But it's just something to be2:10aware of. It's not really a problem.2:11It's just if you notice it happening,2:13that's why. But for this heading, I'm2:15actually just going to do the whole2:17element all at once. But we'll play with2:19some of these other ones for the body2:20copy down below since we've got more2:22content to work with. And then the next2:24property we have is to customize the2:26effect if we don't want to go with the2:27defaults of the preset that's chosen.2:29And then we have delay, which is the2:31initial delay before the whole animation2:33starts. There is another delay. We'll2:35get to that in a second, but this one2:36here is the initial one-time delay2:40before the whole animation begins. But2:42now let's get into customizing this2:44effect a little bit. Just like the2:46appear effects that we apply to normal2:47layers, we get a list of properties that2:50we can animate. And by default, this2:52blur preset that we started with is2:53going to have the opacity go from zero2:55to one. It's going to have the scale2:57start at one and end at one. And I'm3:00actually going to change this. I want3:01the text to kind of look like it's3:03coming into focus and moving in just a3:06little bit. So I'm going to set this to3:08a scale of 1.2. And up here in the3:10preview, we can see what that looks3:11like. like the text kind of floats in3:13and lands and comes into focus as it3:16moves into place. And then down here we3:18have the actual blur amount. I'm going3:20to leave it at 10. I think that's plenty3:21of blur. And then we have a Y offset of3:2410 pixels. And that's just going to push3:26the text down by 10 pixels at the3:28beginning of the animation. So that way3:29it moves up just a hair as it comes to3:32rest. And then last but not least, we3:34have our transition, which is currently3:36set to spring, which is fine, but I do3:38want to slow this down a little bit.3:40Rather than point 4 seconds, I'm going3:42to do two entire seconds here. And then3:44I mentioned before that there is another3:46delay. This delay here is that stagger I3:49was talking about between characters,3:51words, or lines. But because we're3:53animating this H1 heading as all one3:55single element, this delay is actually3:57irrelevant. But we'll come back to it3:59when we do the characters in the4:00paragraph of text below. Cool. So, I'll4:03just go back one step and I'll just4:04check the little preview here. And there4:06we go. We get something a bit more4:07gradual and dramatic. But let's actually4:10preview what our text looks like by4:12pressing command P on my Mac to go into4:14the preview window. And it played real4:16quick there. But I'll click reload in4:18the top left corner here to make that4:20play again. So, you could see we get4:21that blur, that 10 pixels of blur. We4:24get that 10 pixels of Y offset. So, the4:26text rises up just a little bit as it4:28comes to rest. And that gives it a bit4:31more of that 3D effect because it looks4:33like it's traveling through space before4:35it comes to rest on the page. Now, let's4:37do that little paragraph of text down4:39below because there's a lot more content4:40there for us to work with. So, I'm going4:42to leave preview mode. I'm going to4:44select this text box, head back over to4:46effects, and again choose to add the4:48text effect. And again, for this one,4:50I'll keep it triggered on appear so that4:52it plays as soon as the page loads. I'm4:54going to run with that blur preset4:56again, but this time let's compare per4:58line, per word, and per character. I'm5:00going to start with per line. And I5:02don't want any delay on this, but I am5:04going to go into the effect so that way5:07I can get into the transition and slow5:09this thing down. But what I'm slowing5:11down is each line of text. So, I don't5:14want to slow things down too much. But I5:16am going to go with a time just above5:18half a second at 0.6. And I'm going to5:20leave the default delay alone just for5:23now at 0.05 seconds, which again, this5:26delay is the stagger between the5:28individual lines that are going to5:29animate in or the words or the5:31characters depending on how we have our5:33settings set. But we're starting with5:34lines. So this is a 05 second stagger5:37between the first line, the second line,5:39and the third line. So let's actually5:41see what that looks like. I'm going to5:43press command P again on my Mac to go5:45into preview mode. And there we go. I'm5:47going to play that back cuz it happened5:48kind of fast. But you can see that the5:50first line, the second line, and the5:52third line have an ever so slight5:54stagger between them as they come into5:57view. So let's go back. Let's make the5:58stagger a bit more dramatic. So again,6:01I'm going to go into the effect so that6:04way I can get to the transition so that6:06way I can make a more drastic decision6:08here. I'm going to go way drastic 2,6:11which is four times longer than it was6:13before. And I'll go back into preview.6:15And there we go. Now you can really see6:17the stagger between those lines. But6:20let's see what animating by word looks6:22like. So I'm going to go back into the6:23popover and I'm going to set per instead6:26of per line. I'm going to go to per6:28word. And again, let's preview this and6:31see what it looks like. So you can see6:32with the same stagger, this animation6:34does take a lot longer to complete,6:37which makes sense because there are many6:38more individual words than there were6:40individual lines of text. and we're6:42applying the same animation settings to6:44each of those individual words as we6:46were to the very few individual lines6:48that we had before. So, let's push this6:51even further. I'm going to head back to6:52the popover one more time and I'm going6:54to set this on per character instead of6:57per word. And you can see in the preview6:58that we get that staggered effect7:00between each and every individual7:02character. And if we preview this, this7:04is going to take a whole heck of a lot7:06longer to complete because now we've got7:08a relatively long delay staggering each7:11of these individual character7:12animations. So, let's definitely speed7:14that up. I'm going to go back one more7:16time and head back over to the text7:19effect popover. And then down here, I'm7:21going to go back into the effect so that7:23way I can get back to the transition so7:25that way I can access the delay. And I'm7:28going to go even quicker than the 057:30default that we had originally. And I'm7:33going to set this to 02 because we've7:35got a lot of characters to get through.7:37And I'll add a little bounce while we're7:39here. Why not? I'll add a little 6 of7:42bounce to make this slightly more7:44expressive and fun. And press command P7:46again to go into preview mode. And there7:48we go. We got our big heading that's7:49coming in slowly and dramatically like7:51it's got a bit of weight to it. And then7:53we got the paragraph below coming in7:54character by character, but with such7:56little stagger that it's a very fluid7:59animation. And the lines look like8:00they're just getting painted in one8:02after the other after the other with8:03that little bit of playful easing that8:05we get from the bounce. And there you8:08have it. Now you know how text effects8:10can reinforce a message letter by8:12letter, word by word, line by line, or8:15all at once. Just don't forget that text8:18is for reading. So use a bit of8:20restraint. A little motion goes a long8:22way. That's it for this one. I'll see8:25you 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.