Using variables to hide and reveal - Fig in Five - Advanced prototyping

Опубликовано: 07 Август 2026
на канале: The Figma Fan
11,808
97

Check out 2 different ways to use a variable to hide and reveal layers in your design. In this example, I use the overlay setup as an example and show how it can also be done with variables. Imagine using that variable to switch between multiple variants of a component that will constrain to the flexible resizing of your auto layouts.

NOTE: If you are interested in creating the question mark icon with the tooltip hover I use in this lesson, you can find that here:
   • Icon Tooltip Hover - Fig in Five - Advance...  

Let's get started.

0:24 - The scrim overlay
1:22 - A boolean variable
2:39 - A component variant