Skip to main content

How To Make Component Variants In Figma

Lesson 78 from: Figma UI UX Design Essentials

Daniel Walter Scott

How To Make Component Variants In Figma

Lesson 78 from: Figma UI UX Design Essentials

Daniel Walter Scott

trending art & design

buy this class

$00

$00
Sale Ends Soon!

starting under

$13/month*

Unlock this classplus 2200+ more >

Lesson Info

78. How To Make Component Variants In Figma

<b>In this lesson we will learn what a variable is and how to make a variable component in Figma.</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

How To Make Component Variants In Figma

Hi, everyone. We're gonna learn what a variable is. Variables are easy. Ish. OK. Basically, we've got three separate components doing three different things. We're gonna smash them together so that we can drag out one unit. OK? One component with variables of these three different colors. We've got light mode, dark mode, mid mode. OK? That's what a variable is. You grab separate components like these three mash them together just to make things Tidier and easier. You can switch between them. We make this one too. OK? This one here is these three smashed together can different states for a button active hover disable. That is a variant. Let's jump in and actually make it pause, pause, pause, pause, pause. Hey, um just before we go on, there's been an update. Fig ma wanna just, it's just a language change in this video. I'm gonna use the term variant and variable interchangeably because that's what I did. And recently though um fig A have made some changes. OK? And they have used the wor...

d variable for something completely different than what we're doing here. So I'm gonna use the word OK? Variable. But you think variant the whole way through. OK. So instead of bleeping it out, doing it over the top, just think whenever he says variable, he's talking about variants. OK? Variables is something different that will cover. It's kind of like a Cody kind of thing that we do in the advanced course. Um But yeah, when I was originally making this, there wasn't that, so I just kind of use them Willy nilly. So variables are variants. Got it. Carry on. Oh, and have a good time. All right. What is a variant? OK. I've made two buttons. OK? And I'm going to name them because I'm good. I'm going to use that naming convention we learned before. So this is my button for dark interfaces. So dark mode, this is my light mode. OK? So they don't have to be buttons to be variable. They don't have to have this naming convention. It's just helpful, but I've got two things. I want it to be a component. I want both of these to be components. Actually, what I might do is have another couple down here just duplicating them for later on. OK. So I've got these two, I'm gonna go make them multiple components for me, which is cool. So they're just separate components. They're here in my library under button there they are. So the two things hanging out in my assets panel, imagine if you combine them as variables, OK? You select both of them and say, hey, these guys are just variants of the same thing. They go into something called a component set, which is this little dotted line here and you leave them like a main component. OK? It's a main component set. You just leave those along. And what you'll notice is look that disappeared. Can you see those two have been combined into one called one button? Ok. It's just the button. But if you drag this out, look over here, it has a dark mode and light mode. Cool. Huh? That's what variants do you take? Two or more components? You smush them into a variable and then you can go through and kind of adjust them. You can have more than one variant. OK? Let's say that let's undo I'm gonna go back until we're back here. You might have a third version. OK? If I want a third version, that's already a component. OK? So if you do want another version because right now, right, I'm dragging out an instance of that one. How do I know it's an instance cos that's what happens when you drag or option drag out and it's an instant. So I wanna break it apart. Smooshy Dosh, where we go, we want to say uh detached from instance. Great. So it's just a regular old kind of frame. Now, this is going to be mid mode. I don't know what I'm doing. OK? And I'm going to go through and change the color of it to Pink Kate. So that's a component, that's a component. This guy needs to be a component. All three of them can be variables. Now, that's component set. Most people just call that a component still, even though it's technically a component set with the dotted lines. OK? And over here in my assets panel, I've still only got one little thing. OK. There's not three of them or two dozen of them depending on how big your app gets or your design system is. But I can drag out one now and say actually this is mid mode, light mode, dark mode. The moment just says property one. OK? Property one is not a great name. So if you select it here, you can say, I don't want to be property one, I want it to be uh mode. So that when I go over here, I can say, don't put a colon in, there's two of them. OK? But it's a bit more descriptive. It doesn't change anything. OK? It just means that. All right. How did you find that variables now that we understand components? It's not so bad. And that naming convention, that's why we do that a little bit earlier on just tidy up our component list. You don't have to use variables, but you can see how useful they are. One thing to do all sorts of stuff. Let's do one more together just to show you I'll be doing too much light mode, dark mode. Um Let's do something else kind of practical. So this is not a component yet. This is gonna be a button for um the different states of a button. So this is gonna be like an active button. It's gonna be like hover and this one here can be like disabled, disabled. OK? And let me just change the colors of these. OK? So those are different states for my web design. OK. Active When somebody hover hovers over, it gets a bit darker and this is gonna be my disabled button. So we need to make them all components. So let's do that. Select them all. Do it in one big foul swoop. OK? So I've got three separate components. They're all kind of the same. Where are they all in here under my components? Where are they? They're in this one. Here's three of them. We'll watch them all become one boom, one button to rule them all active disabled hover strange things. Dotted line means it's component set. Remember you can actually change like the one that it will default to. OK? Change the order of them. We can name it in here. In my case it's the button state. If I drag out another one, it'll be this and the order has changed. Did it, I'm pretty sure it did. All right. That is it for our introduction to variables? Let's do a little bit more on variables so we can get to know them a bit better. I'll see you in the next video.

Class Materials

Bonus Materials

BYOL_Figma_Cheatsheet.pdf
Exercise_Files_-_Figma_Essentials.zip

RELATED ARTICLES

RELATED ARTICLES