Skip to main content

How To Use Constraints In Figma

Lesson 63 from: Figma UI UX Design Essentials

Daniel Walter Scott

How To Use Constraints In Figma

Lesson 63 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

63. How To Use Constraints In Figma

<b>In this lesson we will look at constraints in Figma which can help you resize designs.</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 Use Constraints In Figma

Hi, everyone in this video, we're gonna look at something called constraints. Constraints allow us to do fun things like this. Can you see the navigation along the top? Ok. It allows us to say stick to the top left, you stick to the top, right, that's backwards. But you get the idea, we'll throw in a little bit of auto layout at the end of this course, as well as a combination to make your brain explode. Join me in this constraints, extravaganza. All right. Let's start off with some basic stuff. So let's just do a couple of shapes. I'll fast forward this. OK? So I've got some shapes and let's say that I wanna make an ipad version of this. OK. So I'm going to duplicate this just because I got wreck it. Ok? I'll call this by my ipad version. OK? And by default, if I grab the edge of this and kind of stretch it out, it does some stuff. You're like, why didn't that stay there? It's trying to be responsive. OK? And it's evenly spreading and you're like, it's not what I want. I just want you...

to stick in the top right. Hand corner like Dan showed us. OK. So we're gonna look at constraints, constraints are always there. We've got them already. So let's say this kind of the word Scott. You can see his constraint to the top left. These guys here also top left. That's not what I want. Let's start with this triangle here. I wanna say yours constraint to the top, right? OK. Of the top, right? OK. Now, if I drag it, look what happens. That guy sticks right to the edge. What I might do is group these guys, but I'm gonna use framing instead. OK? So command option G or control alt G OK? To make it a frame, let's call this my uh icons. And I'm gonna say, instead of constraining to the top left, constrain to the top, right. So they're all together. OK? And I drag them out, look at that they constrain. So that's the constraints. You can get it to stick to the bottom. Let's do it for this guy. So we can say you are constrained to the bottom left which is not gonna work. It's kind of what I want. Let's turn it off first, let's go back to the top. So if I go into here, I drag it out, you're like, no, I want you to be constrained to the bottom left and it's gonna kind of work. Watch this. Hey, stuck to the bottom. But I want to actually stretch across all of them ok. So you can say you're not just stuck to the left or the right, you can do both. It's hard to click these things. You can do them in here, but you can go left and right, both of them together and the bottom. Now, watch, click on this. Hey, constraint and the bottom. So that's what constraints are we're gonna use them for navigation. That's a really good use case. I use them a lot for cards which will, we'll do some kind of nice use cases in a little bit. But that's the basics. The things to note here is let me zoom in. Can you see the little dotted lines there? OK. It is going from this to the right. I'm not sure why it's not. It should go all the way to the edge. A little bug. OK? So it's showing that if I go to the left, can you see it over there? Well, you can't, you can kind of see the beginning of it there. OK? So it's constraining to the outside frame. You won't see constraints. If this, this guy, let's go to zoom out. This guy copy and paste is outside of a frame. He's in no man's land. Look no constraints. He's gone. When I move back on, he's got constraints. So he needs like a parent frame for constraints to work. That's one thing. So at the moment, we're kind of going all the way out to this, like beginning frame often. What will happen is you'll put all of this stuff in its own frame. OK? Maybe call it NAV, in its own parent frame, maybe call it NAV, so that these guys are all kind of like jammed inside of this nice little group. So let's do that. My icons are joined. I might actually join these two guys together first. So instead of grouping member, we're gonna set it into a frame. So these two units here are going to go inside their own frame. So let me just name things. So it makes it a little bit clearer. Logo, these two guys inside of a frame, please. Maybe we'll draw the frame first. Let's do it the other way cos I'm gonna grab my frame too. We've been converting lots of things into frames. You can start with a frame. Mm That's gonna be my navigation. OK? And give this frame a background color. There we go. It's gonna be black in this case. That'll do, I'll use my dark gray. Let's have a look which I've realized A is in the dark and B is just green. You might have seen it earlier on in the cause and you're like he's just making green. Can he tell I didn't when it was small? But when it's big, uh it needs to be adjusted. We're gonna leave that for the moment. I'm going to uh break it and make it a whole lot less green hint of green, Dan, not of all the green. OK. So we've got this frame that these logos are inside. The reason they went inside is because I had them selected first, then drew a frame, they kind of nestled inside. If they don't, you can just drag them inside. So this is gonna be my n the nice thing about this is instead of using the outside of the entire thing because now I watch this. If I adjust the old frame, it doesn't work. But it means I can use this as a nice copy and paste unit and move it around. OK? But what I need to do is adjust it again. OK? So that these guys are in the top right of this frame. So let's give it a go. So I'm gonna undo go back to this one. So we've got our NAV which has got these two things inside of it. The logo is defaulting to the top left. That's fine. The icons though go top right. Now when I adjust you bigger or smaller, that's what constraints are for. And that's how you end up with these like mad things that you've borrowed off other people and you're like, it's so confusing. It is, it is a little bit. OK? So yeah, the thing to remember is that they need to be inside of a frame. OK? Remember when we had them out here, couldn't see the constraints. You can use the outside like, like the whole frame that we're using, what we're calling like the ipad or the mobile, it's up to you. But in this case, I've made a friend that says Nav, and those guys are inside. All right now, I want you to take a pause. Did you get it? Was it OK? If you were like, if you were like, man, I didn't follow much of that. I want you to maybe skip to the next video. Now if you were like, yeah, I'm following it. Keep going. OK. We're gonna go one level deeper, more inception. We're gonna combine a couple of things. We're going to combine the constraints which we just learned with something else we learned. OK. Remember the auto layout. OK. Auto layout. Was that navigation there? OK. And we use auto layout for these buttons here. So let's use auto layout for these guys. So I'm gonna go inside, find my icons there they are. OK? And instead of this being a frame, I'm gonna make an auto layout. Remember one of the cool things about auto layout, it's kind of like a smart selection. Click on that. Now I can go into here and I can adjust this really easily. I can play with the order. I can add another 11 D oh Look at that. And because it's constrained to the top right, it's kind of pushed it that way. All combining stuff. OK? So auto layout is separate from constraints. But if you combine them, you can get some fancy stuff and you will get some fancy stuff from other people. And now, you know how it's constructed, maybe. Are you thinking what I'm thinking? Can he like, you know, this one, like if I grab the ipad size and I make it kind of ipad size, but this doesn't go and I can go in there and I can do that. That's perfect. Um Could we just do what we did down the bottom here? Ok. And say for the navigation, you are top left. What if I said you were top left and right, then we grab this whole frame and it does what this one did and goes left and right. It's too much. All right. Forget I said that I will see you on the next video. We'll do a few more examples together of like Real World auto layout and mixing with constraints and all that sort of goodness because it's good. It's tough, but it's good. All right. Onto the next video.

Class Materials

Bonus Materials

BYOL_Figma_Cheatsheet.pdf
Exercise_Files_-_Figma_Essentials.zip

RELATED ARTICLES

RELATED ARTICLES