Skip to main content

Another Way To Make Variables In Figma

Lesson 79 from: Figma UI UX Design Essentials

Daniel Walter Scott

Another Way To Make Variables In Figma

Lesson 79 from: Figma UI UX Design Essentials

Daniel Walter Scott

buy this class

$00

$00
Sale Ends Soon!

starting under

$13/month*

Unlock this classplus 2200+ more >

Lesson Info

79. Another Way To Make Variables In Figma

<b>In this lesson we will show you a different way to creating a variable in Figma. You will also learn how to create a toggle switch.</b>

Lessons

Class Trailer
1

Introduction to Figma Essentials

02:53
2

Getting Started with Figma Training

03:06
3

What Is Figma For & Does It Do The Coding?

03:46
4

What's The Difference Between UI And UX In Figma

05:22
5

What We Are Making In This Figma Course

09:18
6

Class Project 01 - Create Your Own Brief

04:01
7

What is Lo Fi Wireframe vs High Fidelity in Figma?

02:34
8

Creating Our Design File & Introducing Frames In Figma

08:29
9

The Basics Of Type & Fonts In Figma

10:51
10

Rectangles, Circles, Buttons And Rounded Corners In Figma

06:50
11

How To Use Color In Figma

05:45
12

Strokes Plus Updating Color Defaults In Figma

09:28
13

Object Editing And How To Escape In Figma

01:47
14

Scale vs Selection Tool in Figma

02:39
15

Frames vs Groups in Figma

09:24
16

Class Project 02 - Wireframe

03:00
17

Where To Get Free Icons For Figma

09:10
18

Matching The Stroke Of Our Icons

05:16
19

How To Use Plugins In Figma For Icons

04:31
20

Class Project 03 - Icons

03:48
21

How to Use Pages in Figma

08:31
22

How to Prototype in Figma

10:46
23

Prototype Animation and Easing In Figma

10:53
24

Testing On Your Phone with Figma Mirror

05:40
25

Class Project 04 - Testing On Your Phone

03:51
26

What is Smart Animation & Delays in Figma?

08:44
27

Class Project 05 - My First Animation

02:01
28

Sharing & Commenting on a Figma File with Stakeholders

07:10
29

Sharing & Editing With Other Ux Designers In Figma

06:58
30

How I Get Inspiration For Ux Projects

06:39
31

How To Create A Mood Board In Figma

05:33
32

Class Project 06 - Moodboard

01:26
33

How to Work with Columns & Grids in Figma

13:54
34

Tips, Tricks, Preferences, and Weirdness in Figma

07:21
35

Color Inspiration & The Eyedropper In Figma

06:34
36

How To Create A Color Palette In Figma

09:02
37

How to Make Gradients in Figma

07:09
38

How to Create & Use Color Styles in Figma

08:01
39

Class Project 07 - Colors & Columns

04:00
40

Fonts on Desktop vs in Browser in Figma

01:30
41

What Fonts Can I Use? Plus Font Pairing In Figma

06:01
42

What Common Font Sizes Should I Choose In Web Design?

11:30
43

How to Make Character Styles in Figma

06:36
44

Lorem Ipsum & Placeholder Text In Figma

04:28
45

Useful Things To Know About Text In Figma

09:35
46

How To Fix Missing Fonts In Figma

02:42
47

Class Project 08 - Text

05:19
48

Drawing Tips And Tricks In Figma

09:38
49

Squircle Buttons with ios Rounded Courses In Figma

02:48
50

Boolean, Union, Subtract, Intersect and Exclude with Pathfinder in Figma

07:25
51

What Is The Difference? Union vs Flatten In Figma

03:36
52

Class Project 09 - Making Stuff

03:29
53

Smart Selection & Tidy Up in Figma

08:40
54

Do I Need To Know Illustrator With Figma?

04:15
55

Tips & Tricks For Using Images In Figma

06:11
56

Masking & Cropping Images In Figma

09:12
57

Free Images & Plugins For Figma

02:31
58

Do You Need Photoshop For Ux Design In Figma?

10:40
59

Class Project 10 - Images

01:17
60

What Is Autolayout & Expanding Buttons In Figma?

10:27
61

Class Project 11 - Buttons

01:15
62

Auto Layout For Spacing

05:47
63

How To Use Constraints In Figma

08:22
64

Combining Nested Frames Auto Layout & Constraints in Figma

11:54
65

Adding Text Box Autoheight to Autolayout in Figma

08:27
66

Class Project 12 - Responsive Design

02:19
67

Nice Drop Shadow & Inner Drop Shadow Effects In Figma

05:56
68

Blur Layer, Background Blur & Image Blur in Figma

05:57
69

How to Make Neumorphic UI buttons in Figma

07:37
70

Class Project 13 - Effects

01:53
71

How To Save Locally & Save History In Figma

05:42
72

What are Components in Figma?

06:19
73

Updating, Changing & Resetting Your Components

07:47
74

You Can’t Kill Main Components In Figma

07:22
75

Where Should You Keep Your Main Components In Figma

05:02
76

Intro To The Forward Slash / Naming Convention In Figma

08:55
77

Class Project 14 - Components

00:44
78

How To Make Component Variants In Figma

06:41
79

Another Way To Make Variables In Figma

06:14
80

How to Make a Multi Dimensional Variant in Figma

11:13
81

Class Project 15 - Variants

01:41
82

How To Make A Form Using Variants In Figma

12:52
83

Class Project 16 - Form

01:27
84

Putting It All Together In A Desktop Example

19:44
85

How To Add A Popup Overlay Modal In Figma

03:03
86

How To Make & Prototype A Tool Tip In Figma

07:26
87

What are Flows in Figma?

05:39
88

Slide In Mobile Nav Menu Overlay In Figma

03:55
89

Class Project 17 - Prototyping

01:10
90

How To Pin Navigation To The Top In Figma

10:17
91

How To Make A Horizontal Scrolling Swipe In Figma

06:36
92

Automatic Scroll Down The Page To Anchor Point In Figma

04:50
93

What are Teams vs Projects vs Files in Figma?

05:18
94

How Do You Use Team Libraries In Figma

11:03
95

The Difference Between Animation & Micro Interactions

02:55
96

Animation With Custom Easing In Figma

25:36
97

Class Project 18 - My Second Animation

01:54
98

How To Make Animated Transitions In Figma

12:34
99

Class Project 19 - Page Transition

01:31
100

Micro Interactions Using Interactive Components In Figma

05:54
101

Micro Interaction Toggle Switch In Figma

04:23
102

Micro Interaction Burger Menu Turned Into A Cross In Figma

04:23
103

Class Project 20 - Micro Interaction

01:35
104

How To Change The Thumbnail For Figma Files

04:10
105

How To Export Images Out Of Figma

07:40
106

How To Share Your Document With Clients & Stakeholders

07:09
107

Talking To Your Developer Early In The Figma Design Process

03:55
108

Sharing Figma With Developers & Engineers Handoff

06:07
109

What Are The Next Level Handoffs Aka Design Systems

03:18
110

Class Project 21 - Finish your design

04:57
111

What Next?

06:08

Lesson Info

Another Way To Make Variables In Figma

Hey, everyone. Uh There is more than one way to make a variable. This video, I'll show you a slightly different way. Essentially, you end up the same part, but there's just a, a slightly different method for creating them. And also we're gonna look at the sweet toggle switch. Look over here, it says toggle, look at that little switch there. OK? We'll make a little multicolored logo as well. OK? Still a variable. Basically the same slightly different method of construction. Let me show you all right. In the last video I showed you how to make a component. OK? Command option K on a Mac. That's control alt K on a PC. OK? So we made two of them. OK? And then the two different options and we combine them as variants. OK? Uh I'm gonna do it differently in this video. We're gonna start with this little toggle switch. It's nothing, it's just a circle in a rounded rectangle. OK? But if I convert it into a component, I can actually jump straight to making it a variant. Hi, everyone. Uh Just a qu...

ick little update to this video. You'll notice that the word variant isn't over here anymore. Fig A has changed it slightly. OK? Over here it's actually under properties and you hit the plus. There is variant, OK? Click on that and what you need to do the second step is you need to add a second variant. That was all one step before, but now it is two steps. OK? So there you go. That is the update. You can continue on with the video. The other thing to remember though is that um remember I'm going to call lots of things variables. That is the wrong word. I'm going to do it all through this video. What are they meant to be called vian? That's right. You got it. All right. Carry on with the video. OK? And the same thing happens, right? We get this kind of component set and afterwards, OK? I can go into here and say that is my toggle for that way. OK? You just double click them to go inside of it and I'm going to switch that to that. So in my assets panel here, I've now got my little switch and I've got an option that says variant you go, if you name them badly, you end up with property one and variant two. OK? Naming, renaming them afterwards isn't particularly hard. You've got to rename them on the component or in your layers panel, you kind of see that one there is called variant two, that one's default and they kind of match over here. So you can either name them by double clicking this, OK, or doing it over here or be a bit better when you first made that toggle switch. Ok? If we make that toggle switch and we call it maybe the switch and call it slash off. Ok. It will help us automatically do this naming, but we weren't that clever. So we're gonna go do it afterwards. So first of all, the whole thing's called component one, which is not what I want. This is my switch inside that I got two variants. I'm gonna rename them over here. So the property is whether it is toggled on or off. Now, this is gonna do something fancy if I use, it doesn't really matter what I call this. But if I have my first one, which is default, ok? And that's gonna be off if I use the words off and on. Notice how this will change over here. Let's go. Let's grab an asset, let's grab the toggle switch out. And because I use the word on and off, can you see? It's got this little cool thing. It's awesome. There's a toggle switch, it does nothing. It's just because I use the words on and off, you can use the words true or false. Ok? Or um what else can you use? Yes or no. Ok. It might be a check box as long as you use those kind of that, those actual words not the word toggle, they're on and off, you get this like little switch and it makes us look fancy. Look at that. Ok, let's do one more. We'll do the logo. Um Have we done? I feel like we've done the logo already. Uh So I'm gonna pretend we haven't. I'm going to have this version. OK? This is an instance of my component. I'm going to break that instance and forget we attach it. OK? So it's just a frame now, let's have a look what it looks like. Yeah, it's just a frame now with my logo in it. So I am going to change the colors of the text on the inside. OK? So the same thing instead of like as long as it's a component to start with and let's use our naming convention. So let's call it a good name. Let's call it primary, primary color, convert it into a component, command option K mac control option K PC. Man, you getting sick of it? Do you remember it? That's the trick. Uh oh, we just click the button at the top. OK. So I've got this. What am I doing? I've given it a name, which is great. I've converted it to a component and instead of OK? And we're gonna add our variant. There we go. Once you've got this variant, you can actually add another one. So actually let's go into this and let's change the color of it to another one secondary. So this one here is gonna be called not variant two. This is gonna be called secondary color. You can add more to this by clicking this little plus here. Oop. OK. We've got another version and add your own sound effect. OK? And this one's gonna be our accent color. OK? There is another way you can click on it, hit command D on a Mac control D on a PC. So there are lots of ways of making variants. Just find the one that you're comfortable making. OK? This one's gonna be here. My logo is going to be this one here is gonna be the color you can choose. Let's add it to see what it does does. Here we go there. I can go through and say which color do I want color? Let's speak secondary accent color. Look at us making variables. So we've gone from lots of components kind of filling up our uh assets panel to combining things like the three versions, OK? Into one little unit. OK. What we can see here as well though is that there's actually three buttons. So this might still get out of control unless we make multidimensional variables which we'll do in the next video. All right, I'll see you there.

Class Materials

Bonus Materials

BYOL_Figma_Cheatsheet.pdf
Exercise_Files_-_Figma_Essentials.zip

Ratings and Reviews

Mahyar Hassid
 

Great class, Daniel drops so much knowledge in every video and in all the in between unexpected moments that helps speed up your process!

Student Work

RELATED ARTICLES

RELATED ARTICLES