![]() More information about Figma Transitions and Smart Animate →Įasing refers to the way the animation moves, it’s basically how the element accelerates and decelerates.Animationsįigma comes with a set of pre-defined transitions that can be useful for some cases (move in, push, slide-in) but I always prefer to go with Smart Animate and define my own transitions as it’s really easy to use - it basically checks the layer names and if there are changes between the selected frame and the destination frame, it will animate those layers. In my examples, I will use a variant as the destination to swap it from Switch OFF to Switch ON. In this setting, you can define what will happen when the interaction is activated for interactive components, we will use Change To which allows swapping the variants inside a component. These are known in development as Events and are the different ways we the user can activate an interaction. ( Large preview) HotspotĮven though this is not inside the panel, the hotspot is the element where the interaction will happen, in our case, each variant will be an interactive hotspot for which you can define triggers and actions. Figma has a lot of information on their site so I will include links for those of you that want to dig deeper. It’s important to understand the Interaction Details panel because it allows us to define the different interactions and animations for our interactive components. These are the different styles a component can have and are usually used to apply different properties such as size or states. ![]() You can also apply overrides to instances (which are basically style changes to the component properties which allow for some customization). Think of these as items that, when duplicated, create a connection with its copy (called instance) and when the component is changed, the instance receives the same changes. It’s necessary to understand some key Figma elements that we are going to use, if you’re already familiar with them you can skip this part and start directly with the first tutorial (section: “Create your first Interactive Component”). Once you join the Beta, you can duplicate my design and follow along more easily. I have created a Figma design file with the examples from this article. Joining the Beta is free and once you submit the form, it should not take more than two or three days before you see Interactive Components appear in your Figma design tool. You need to sign up for the Interactive Components Beta program to start experimenting with this new feature as it is not yet available in the current stable release. Now, before we start: Interactive Components (Beta Access) Using Interactive Components simplifies not only the final prototype but also the logic behind it, making it easier to learn how to build, maintain and update the prototypes. In the next example, it only requires one screen and one component with two variants for the interactions, and the switch is the same so it can be duplicated as many times as needed: One single interactive component used twice inside a screen. And if I wanted to use three switches, I would have to add even more screens and interactions. ( Large preview)Īs you can see in the example above, it requires four screens and eight interactions to make the prototype work as a real product. Here’s a comparison example of how the workflow will change: Four screens and eight different interactions. This means that it is now possible to create a component with states (hover, active, clicked, focus) and make it interactive so that every copy of the component will inherit those same interactions by default, helping a lot in the prototyping phase. Recently, Figma rolled out the beta for the newest interactive components feature that allows defining interactions and animations directly into the variants and propagates them to every component instance. There’s no need for previous Figma knowledge and experience - all you’ll need is a free Figma account if you’d like to try it out for yourself. The new feature reduces the time and effort needed to create interactions by bringing down the cost of design exploration. In this article, Emiliano explains why Figma Interactive Components (now in beta) will improve how we create prototypes.
0 Comments
Leave a Reply. |