Hi everyone. In this video we're gonna put in animations from Lotti into Figma, but to cut to the chase. Uh, at the moment we can't put Lotti files natively in Figma. We put in gifs and then we send the developers the Lotti files. So it's a little bit of a workaround at the moment. This will change, I'm sure as soon as I hit record on this video, okay?
But for the moment, Lotti files can't go in natively. Let's work out, let's look at the plugin and figure out the, the kind of way to work around it at the moment. Alright, first up, if you haven't heard of a Lotti file, um, I'll say it there, my accent, okay? Lotti files. It's really common animation file used, uh, actually in production on a website or an app. Okay?
Uses JSON as the underlying code. It's, uh, very fast to load. It is very small, which is good and it contains all the good stuff that we need, like vectors and we can do all sorts of kind of timeline animation. Okay? So Lottie is awesome. Um, and like I said at the beginning there, we can kind of implement it in Figma.
It's like the last video. We can implement a gif and then send the developer the file that they need. The trouble is gifs are gross. They work actually make, make two files because the reason they look kind of gross is when they're on a background that needs transparency. So let's open, uh, the Lottie plugin. Okay?
So Lottie will require you to sign in, okay? You can set up a free account, you can get quite far on the free account. I find often just using the website, it's actually easier. You can go in here and say, I want a loading animation, okay? Instead of spending ages trying to design it in Figma, okay, there's a bunch of stuff in here and there's a bunch of free stuff, which is awesome, but let's do it in Figma here. Let's do it, uh, loading, okay.
Figure out which one you want. Let's say we want this cool thing, so I can insert an SVG, and that might be what you do. Okay? It's scalable, it's victory, it's good. And what you do is, let's pause that. It's distracting.
You just have to note this. When you're sending it to developers, like this is an animated file. Here is a link to the js om file or the Lotty file. Okay? So, and you'd link it from here. It's there, there it is.
Okay. So you'd open it up, you'd download it and you'd say, here is the lot JSO file. Okay? And that might be it. That might be the way you connect both of these together. You just put in A SVG placeholder, send them the link.
But let's say you want to demonstrate the, uh, gif, okay? So what you can do is let's delete that and at the moment we can't hopefully soon, okay? You might be watching this and you might be able to click insert Lottie and it might be working perfect. It'll happen soon, okay? It can be done. It was, uh, it's actually in Adobe xd.
So they're doing it. We are on, uh, Figma roadmap. Is it gonna be inserted? I don't know. Hopefully it'll be there soon. Let me know in the comments if it has updated, I have to come back and rerecord this video.
But for the moment what we do is we say, actually let's just insert a gif. Okay? I'm going to make what size. I'm gonna make a big one, Okay? It takes a bit to make it, and I'm gonna put it in here. I'm just gonna make sure, 'cause it kind of just dumps it anywhere on the page.
So make sure it's in the frame that you wanna preview. Okay? So I'm gonna close it down now and I'm gonna have you, I'm gonna preview you and there it is. It looks fine. I don't know. I felt it looked worse in the past.
This one's actually pretty nice. I've made a bigger file and scaled it down. So the gif looks all right. Okay. Um, there you go. That's an animated gif.
There you go. You put in the gif and then send your developer again. That Lottie js o file. You trouble is, it's not vector. I can't change a lot in here, but I can do a lot of color adjustments in the Lotty file. I know for the free version, you just take what you get, okay?
But you can with the paid version, go through and say, all right, um, let's find my one. It's pretty cool. You can go through and if you've got a paid version, you can go to customize and you can pick different colors, okay? And save those animations. Make your own palettes. But for the moment, that is, uh, you need an individual plan, which is a paid plan, but there is loads of cool free stuff and I'm looking forward to rerecording this video when we can actually put in, uh, Lotti natively.
And then when we do our export, the developer doesn't have to be, Cass set a separate file. They can get it from the documentation and from the, uh, inspect panel. That'd be cool if you wanna make your own custom Lotti file, okay? Uh, you can, you'll need something like Adobe After Effects. That's a plugin called Body Move-in outta the scope of this course. But if you do wanna check out my After Effects course, I'll be updating that real soon and making sure there is Lottie animation creation as part of it becoming the default.
Alright, Lottie in Figma at the moment, we're just kind of sticking in a gif and sending the developer the Lottie file. That's okay. We can make it work with a slightly crusty edged gif. Alright, that's it. I'll see you in the next video.