How To Make Component Variants In Figma
Daniel Walter Scott
Lesson Info
78. How To Make Component Variants In Figma
Lessons
Introduction to Figma Essentials
02:53 2Getting Started with Figma Training
03:06 3What Is Figma For & Does It Do The Coding?
03:46 4What's The Difference Between UI And UX In Figma
05:22 5What We Are Making In This Figma Course
09:18 6Class Project 01 - Create Your Own Brief
04:01 7What is Lo Fi Wireframe vs High Fidelity in Figma?
02:34 8Creating Our Design File & Introducing Frames In Figma
08:29The Basics Of Type & Fonts In Figma
10:51 10Rectangles, Circles, Buttons And Rounded Corners In Figma
06:50 11How To Use Color In Figma
05:45 12Strokes Plus Updating Color Defaults In Figma
09:28 13Object Editing And How To Escape In Figma
01:47 14Scale vs Selection Tool in Figma
02:39 15Frames vs Groups in Figma
09:24 16Class Project 02 - Wireframe
03:00 17Where To Get Free Icons For Figma
09:10 18Matching The Stroke Of Our Icons
05:16 19How To Use Plugins In Figma For Icons
04:31 20Class Project 03 - Icons
03:48 21How to Use Pages in Figma
08:31 22How to Prototype in Figma
10:46 23Prototype Animation and Easing In Figma
10:53 24Testing On Your Phone with Figma Mirror
05:40 25Class Project 04 - Testing On Your Phone
03:51 26What is Smart Animation & Delays in Figma?
08:44 27Class Project 05 - My First Animation
02:01 28Sharing & Commenting on a Figma File with Stakeholders
07:10 29Sharing & Editing With Other Ux Designers In Figma
06:58 30How I Get Inspiration For Ux Projects
06:39 31How To Create A Mood Board In Figma
05:33 32Class Project 06 - Moodboard
01:26 33How to Work with Columns & Grids in Figma
13:54 34Tips, Tricks, Preferences, and Weirdness in Figma
07:21 35Color Inspiration & The Eyedropper In Figma
06:34 36How To Create A Color Palette In Figma
09:02 37How to Make Gradients in Figma
07:09 38How to Create & Use Color Styles in Figma
08:01 39Class Project 07 - Colors & Columns
04:00 40Fonts on Desktop vs in Browser in Figma
01:30 41What Fonts Can I Use? Plus Font Pairing In Figma
06:01 42What Common Font Sizes Should I Choose In Web Design?
11:30 43How to Make Character Styles in Figma
06:36 44Lorem Ipsum & Placeholder Text In Figma
04:28 45Useful Things To Know About Text In Figma
09:35 46How To Fix Missing Fonts In Figma
02:42 47Class Project 08 - Text
05:19 48Drawing Tips And Tricks In Figma
09:38 49Squircle Buttons with ios Rounded Courses In Figma
02:48 50Boolean, Union, Subtract, Intersect and Exclude with Pathfinder in Figma
07:25 51What Is The Difference? Union vs Flatten In Figma
03:36 52Class Project 09 - Making Stuff
03:29 53Smart Selection & Tidy Up in Figma
08:40 54Do I Need To Know Illustrator With Figma?
04:15 55Tips & Tricks For Using Images In Figma
06:11 56Masking & Cropping Images In Figma
09:12 57Free Images & Plugins For Figma
02:31 58Do You Need Photoshop For Ux Design In Figma?
10:40 59Class Project 10 - Images
01:17 60What Is Autolayout & Expanding Buttons In Figma?
10:27 61Class Project 11 - Buttons
01:15 62Auto Layout For Spacing
05:47 63How To Use Constraints In Figma
08:22 64Combining Nested Frames Auto Layout & Constraints in Figma
11:54 65Adding Text Box Autoheight to Autolayout in Figma
08:27 66Class Project 12 - Responsive Design
02:19 67Nice Drop Shadow & Inner Drop Shadow Effects In Figma
05:56 68Blur Layer, Background Blur & Image Blur in Figma
05:57 69How to Make Neumorphic UI buttons in Figma
07:37 70Class Project 13 - Effects
01:53 71How To Save Locally & Save History In Figma
05:42 72What are Components in Figma?
06:19 73Updating, Changing & Resetting Your Components
07:47 74You Can’t Kill Main Components In Figma
07:22 75Where Should You Keep Your Main Components In Figma
05:02 76Intro To The Forward Slash / Naming Convention In Figma
08:55 77Class Project 14 - Components
00:44 78How To Make Component Variants In Figma
06:41 79Another Way To Make Variables In Figma
06:14 80How to Make a Multi Dimensional Variant in Figma
11:13 81Class Project 15 - Variants
01:41 82How To Make A Form Using Variants In Figma
12:52 83Class Project 16 - Form
01:27 84Putting It All Together In A Desktop Example
19:44 85How To Add A Popup Overlay Modal In Figma
03:03 86How To Make & Prototype A Tool Tip In Figma
07:26 87What are Flows in Figma?
05:39 88Slide In Mobile Nav Menu Overlay In Figma
03:55 89Class Project 17 - Prototyping
01:10 90How To Pin Navigation To The Top In Figma
10:17 91How To Make A Horizontal Scrolling Swipe In Figma
06:36 92Automatic Scroll Down The Page To Anchor Point In Figma
04:50 93What are Teams vs Projects vs Files in Figma?
05:18 94How Do You Use Team Libraries In Figma
11:03 95The Difference Between Animation & Micro Interactions
02:55 96Animation With Custom Easing In Figma
25:36 97Class Project 18 - My Second Animation
01:54 98How To Make Animated Transitions In Figma
12:34 99Class Project 19 - Page Transition
01:31 100Micro Interactions Using Interactive Components In Figma
05:54 101Micro Interaction Toggle Switch In Figma
04:23 102Micro Interaction Burger Menu Turned Into A Cross In Figma
04:23 103Class Project 20 - Micro Interaction
01:35 104How To Change The Thumbnail For Figma Files
04:10 105How To Export Images Out Of Figma
07:40 106How To Share Your Document With Clients & Stakeholders
07:09 107Talking To Your Developer Early In The Figma Design Process
03:55 108Sharing Figma With Developers & Engineers Handoff
06:07 109What Are The Next Level Handoffs Aka Design Systems
03:18 110Class Project 21 - Finish your design
04:57 111What Next?
06:08Lesson 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
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 Classes
UX Design