In Figma, an interaction is created by adding a frame to your design, and then adding an animation to that frame. Animations in Figma are created using the Timeline panel, which is located in the left sidebar.
To create an animation, you first need to add a keyframe to your timeline. A keyframe is a point in time where you specify the properties of an element, such as its position, size, or opacity. To add a keyframe, simply click on the element you want to animate, and then click on the “Add Keyframe” button in the Timeline panel.
Once you’ve added a keyframe, you can then add animations to that keyframe. To do this, simply click on the “Add Animation” button in the Timeline panel.
This will open up the Animation panel, which allows you to specify the type of animation you want to create. There are four types of animations in Figma: transitions, delays, repeats, and triggers.
Transitions are animations that occur when an element is changed from one state to another. For example, if you have a button that changes color when it’s hovered over, the color change would be considered a transition.
Delays are pauses that occur between two animations. For example, if you want there to be a pause before an element fades out, you would add a delay between the fade out animation and the next animation in your timeline.
Repeats are animations that loop indefinitely. Triggers are animations that occur when an event is triggered, such as when a button is clicked.
Once you’ve added an animation to your timeline, you can then adjust its properties using the Animation panel. For example, you can change the duration of an animation or its delay. You can also add easing to your animations, which makes them start and end more slowly or quickly depending on how you set it up.
Creating interactions in Figma is a simple process that anyone can learn with a little practice. With Figma’s powerful tools and features, there’s no limit to what you can create!