Рет қаралды 113
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 - F...
Let's get started.
0:24 - The scrim overlay
1:22 - A boolean variable
2:39 - A component variant