Complete the code to create an interactive component in Figma by selecting the correct option.
To create an interactive component, first select the component and then click on the [1] tab in the right panel.
The Prototype tab in Figma is used to add interactions and animations to components, making them interactive.
Complete the code to link two components for interaction by dragging the correct option into the blank.
To link two components, drag the [1] handle from the first component to the second component in Prototype mode.
The blue circle handle appears on the right side of a selected component in Prototype mode and is used to create links to other components or frames.
Fix the error in the interaction settings by choosing the correct trigger type for an interactive component.
In the interaction details, set the trigger to [1] to make the component respond when clicked.The Click trigger makes the component respond when the user clicks on it, which is the most common trigger for interactive components.
Fill both blanks to define an interaction that changes a component's state when clicked.
Set the interaction's trigger to [1] and the action to [2] to swap component variants.
Using Click as the trigger and Change To as the action allows swapping between component variants on click.
Fill all three blanks to create a prototype interaction that navigates to a frame after a delay.
Set trigger to [1], action to [2], and destination to [3] frame.
The After Delay trigger starts the interaction automatically after a pause, Navigate To moves to another frame, and Home is the destination frame name.