The 'Hug' resizing rule makes a frame or component automatically adjust its size to fit its content snugly, like wrapping a gift tightly.
Click to reveal answer
beginner
Explain the 'Fill' resizing rule in Figma.
The 'Fill' resizing rule stretches or shrinks an object to fill the available space of its parent container, similar to how a window curtain covers the entire window.
Click to reveal answer
beginner
What happens when you set a frame's resizing rule to 'Fixed'?
With 'Fixed', the frame or object keeps its set width and height no matter how the parent container changes, like a photo frame that stays the same size on a wall.
Click to reveal answer
intermediate
How does 'Hug' resizing help in responsive design?
It allows components to grow or shrink based on their content size, making layouts flexible and avoiding extra empty space.
Click to reveal answer
intermediate
When would you prefer 'Fill' over 'Fixed' resizing?
Use 'Fill' when you want an element to adapt to the container size, like buttons stretching across a toolbar, and 'Fixed' when you want consistent size regardless of container changes.
Click to reveal answer
Which resizing rule makes a frame size adjust exactly to its content?
AFill
BFixed
CHug
DStretch
✗ Incorrect
The 'Hug' rule adjusts the frame size to fit its content tightly.
If you want a button to always fill the width of its parent container, which resizing rule should you use?
AFill
BHug
CCenter
DFixed
✗ Incorrect
'Fill' makes the element stretch to fill the available space.
What does the 'Fixed' resizing rule do?
AAdjusts size to content
BKeeps size constant regardless of parent size
CFills parent container
DCenters content
✗ Incorrect
'Fixed' keeps the object's size constant no matter the parent container.
Which resizing rule is best for a text label that should grow with its text content?
ANone
BFill
CFixed
DHug
✗ Incorrect
'Hug' lets the label grow or shrink based on text length.
What happens if you set a frame to 'Fill' but its parent container shrinks?
AFrame size shrinks to fill container
BFrame size grows larger
CFrame size stays the same
DFrame disappears
✗ Incorrect
'Fill' causes the frame to shrink or grow to fill the parent container.
Describe the differences between 'Hug', 'Fill', and 'Fixed' resizing rules in Figma.
Think about how each rule affects size when content or container changes.
You got /3 concepts.
Explain a real-life example where you would use each resizing rule: Hug, Fill, and Fixed.
Relate resizing rules to everyday objects or situations.
You got /3 concepts.
Practice
(1/5)
1. Which resizing rule in Figma makes a frame adjust its size exactly to fit its content?
easy
A. Fixed size
B. Fill container
C. Auto layout
D. Hug contents
Solution
Step 1: Understand resizing rules
Hug contents means the frame changes size to fit the content inside exactly.
Step 2: Compare with other rules
Fill stretches to fill the container, Fixed keeps size constant, Auto layout arranges items but does not define resizing rule itself.
Final Answer:
Hug contents -> Option D
Quick Check:
Hug contents = fits content exactly [OK]
Hint: Hug means frame hugs content tightly [OK]
Common Mistakes:
Confusing Fill with Hug
Thinking Fixed resizes with content
Mixing Auto layout with resizing rules
2. Which of the following is the correct way to set a frame's resizing rule to fill its parent container in Figma?
easy
A. Set resizing to Fill container
B. Set resizing to Fixed size
C. Set resizing to Hug contents
D. Set resizing to Auto layout
Solution
Step 1: Identify the fill resizing rule
Fill container means the frame stretches to fill the available space of its parent container.
Step 2: Confirm correct option
Only Set resizing to Fill container correctly names this resizing rule as Fill container.
Final Answer:
Set resizing to Fill container -> Option A
Quick Check:
Fill container = stretches to parent [OK]
Hint: Fill means stretch to parent container [OK]
Common Mistakes:
Choosing Fixed size instead of Fill
Confusing Hug with Fill
Using Auto layout as resizing rule
3. Consider a frame with a fixed width of 200px inside a parent frame of 400px width. If the child frame's horizontal resizing is set to Fill, what will be its width when the parent frame resizes to 600px?
medium
A. 200px
B. 600px
C. 400px
D. It will stay fixed at 200px
Solution
Step 1: Understand Fill resizing behavior
Fill resizing makes the child frame stretch to fill the parent's width.
Step 2: Calculate new width
When parent resizes to 600px, child frame with Fill will also resize to 600px width.
Final Answer:
600px -> Option B
Quick Check:
Fill resizing stretches child to parent's width [OK]
Hint: Fill means child matches parent size [OK]
Common Mistakes:
Assuming fixed width stays constant
Choosing original 200px width
Confusing Fill with Hug
4. You set a frame's resizing to Fixed size, but when you resize the parent frame, the child frame also resizes unexpectedly. What is the most likely cause?
medium
A. The child frame has Hug contents resizing
B. The parent frame has Auto layout enabled
C. The child frame's resizing is actually set to Fill, not Fixed
D. The child frame is locked
Solution
Step 1: Analyze resizing behavior
If child resizes with parent, it is likely set to Fill, not Fixed.
Step 2: Check settings
Verify child's resizing rule; if set to Fill, it will stretch with parent.
Final Answer:
The child frame's resizing is actually set to Fill, not Fixed -> Option C
Quick Check:
Fixed resizing means no size change [OK]
Hint: Check child's resizing rule if size changes unexpectedly [OK]
Common Mistakes:
Blaming Auto layout instead of resizing rule
Assuming locked frames resize
Confusing Hug with Fixed
5. You want a button inside a resizable panel to always fit its text content width but also stretch vertically to fill the panel height. Which resizing rules should you apply to the button's width and height respectively?
hard
A. Width: Hug contents, Height: Fill container
B. Width: Fill container, Height: Hug contents
C. Width: Fixed size, Height: Fixed size
D. Width: Fill container, Height: Fixed size
Solution
Step 1: Determine width resizing
To fit text exactly, width should be Hug contents.
Step 2: Determine height resizing
To stretch vertically to fill panel, height should be Fill container.
Final Answer:
Width: Hug contents, Height: Fill container -> Option A
Quick Check:
Hug width fits text, Fill height stretches vertically [OK]
Hint: Hug width fits content, Fill height stretches to parent [OK]
Common Mistakes:
Using Fixed size for width or height
Swapping Hug and Fill rules
Setting both dimensions to Fill
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.