Bird
Raised Fist0
Figmabi_tool~20 mins

Text alignment and vertical alignment in Figma - Practice Problems & Coding Challenges

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Challenge - 5 Problems
🎖️
Text Alignment Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
visualization
intermediate
2:00remaining
Identify the correct horizontal text alignment

You have a text box in Figma with the text aligned to the center horizontally. Which visual result matches this setting?

AText is aligned flush to the left edge of the box.
BText is aligned evenly between left and right edges of the box.
CText is aligned flush to the right edge of the box.
DText is aligned diagonally across the box.
Attempts:
2 left
💡 Hint

Think about how center alignment positions text inside a box.

visualization
intermediate
2:00remaining
Choose the correct vertical alignment for text

In Figma, you set vertical alignment of a text box to 'Bottom'. What will the text look like inside the box?

AText sits at the top edge of the text box.
BText sits in the vertical center of the text box.
CText sits at the bottom edge of the text box.
DText is evenly spaced vertically with equal padding above and below.
Attempts:
2 left
💡 Hint

Vertical bottom alignment means text is placed at the lowest part inside the box.

🧠 Conceptual
advanced
2:00remaining
Understanding combined text alignment effects

If a text box in Figma has horizontal alignment set to 'Right' and vertical alignment set to 'Center', where will the text appear?

AText is aligned to the right edge horizontally and vertically centered inside the box.
BText is aligned to the center horizontally and at the bottom edge vertically.
CText is aligned to the right edge horizontally and at the top edge vertically.
DText is aligned to the left edge horizontally and vertically centered inside the box.
Attempts:
2 left
💡 Hint

Think about how horizontal and vertical alignments combine independently.

🔧 Formula Fix
advanced
2:00remaining
Fix the unexpected text clipping issue

You set a text box in Figma with vertical alignment 'Top' but the text appears clipped at the bottom. What is the most likely cause?

AText color is the same as background, making it look clipped.
BVertical alignment 'Top' causes clipping by design.
CHorizontal alignment is set to 'Center' causing clipping.
DThe text box height is smaller than the text size causing clipping.
Attempts:
2 left
💡 Hint

Check if the text box size fits the text content.

🎯 Scenario
expert
3:00remaining
Designing a responsive text box with vertical and horizontal alignment

You need to create a text box in Figma that always keeps text horizontally centered and vertically aligned to the middle, regardless of resizing. Which settings and practices ensure this behavior?

ASet horizontal alignment to 'Center', vertical alignment to 'Center', and enable auto height resizing.
BSet horizontal alignment to 'Left', vertical alignment to 'Top', and fix the height manually.
CSet horizontal alignment to 'Right', vertical alignment to 'Bottom', and disable resizing.
DSet horizontal alignment to 'Center', vertical alignment to 'Bottom', and fix the width manually.
Attempts:
2 left
💡 Hint

Think about how alignment and resizing options affect text positioning when the box changes size.

Practice

(1/5)
1. Which of the following best describes text alignment in Figma?
easy
A. It controls the horizontal placement of text within a text box.
B. It controls the vertical placement of text within a text box.
C. It changes the font size of the text.
D. It changes the color of the text.

Solution

  1. Step 1: Understand text alignment meaning

    Text alignment refers to how text is positioned horizontally inside its container, such as left, center, or right.
  2. Step 2: Differentiate from vertical alignment

    Vertical alignment controls vertical placement, not horizontal, so it is not text alignment.
  3. Final Answer:

    It controls the horizontal placement of text within a text box. -> Option A
  4. Quick Check:

    Text alignment = horizontal placement [OK]
Hint: Text alignment = horizontal, vertical alignment = vertical [OK]
Common Mistakes:
  • Confusing vertical alignment with text alignment
  • Thinking text alignment changes font size
  • Mixing color changes with alignment
2. Which Figma property would you use to center text vertically inside a frame?
easy
A. Text Align: Center
B. Vertical Align: Bottom
C. Text Align: Left
D. Vertical Align: Middle

Solution

  1. Step 1: Identify vertical alignment property

    Vertical alignment controls text placement from top to bottom inside a container.
  2. Step 2: Choose the middle vertical alignment

    To center text vertically, use Vertical Align set to Middle.
  3. Final Answer:

    Vertical Align: Middle -> Option D
  4. Quick Check:

    Vertical center = Vertical Align: Middle [OK]
Hint: Vertical center uses Vertical Align: Middle [OK]
Common Mistakes:
  • Using Text Align instead of Vertical Align
  • Choosing Left or Bottom for vertical centering
  • Confusing horizontal and vertical alignment
3. Given a text box with width 200px and height 100px, if you set Text Align: Right and Vertical Align: Bottom, where will the text appear?
medium
A. Text will appear centered both horizontally and vertically.
B. Text will appear at the top-left corner.
C. Text will appear at the bottom-right corner.
D. Text will appear at the bottom-left corner.

Solution

  1. Step 1: Analyze horizontal alignment

    Text Align: Right places text at the right edge horizontally.
  2. Step 2: Analyze vertical alignment

    Vertical Align: Bottom places text at the bottom edge vertically.
  3. Final Answer:

    Text will appear at the bottom-right corner. -> Option C
  4. Quick Check:

    Right + Bottom = bottom-right corner [OK]
Hint: Right + Bottom = bottom-right corner placement [OK]
Common Mistakes:
  • Mixing up left and right alignment
  • Confusing top and bottom vertical alignment
  • Assuming center alignment by default
4. You set Text Align: Center but the text still appears left aligned. What is the most likely cause?
medium
A. The text box width is too small to show center alignment.
B. The text box is set to auto width, ignoring alignment.
C. The font size is too large.
D. Vertical alignment is set to Top.

Solution

  1. Step 1: Understand auto width effect

    If the text box width is auto, it shrinks to fit text, so center alignment has no effect.
  2. Step 2: Check other options

    Vertical alignment or font size do not affect horizontal centering. Small width limits space but does not force left alignment.
  3. Final Answer:

    The text box is set to auto width, ignoring alignment. -> Option B
  4. Quick Check:

    Auto width disables horizontal alignment effects [OK]
Hint: Auto width text boxes ignore horizontal alignment [OK]
Common Mistakes:
  • Blaming vertical alignment for horizontal issues
  • Assuming font size affects alignment
  • Ignoring text box sizing settings
5. You want to create a dashboard label that is always centered horizontally and vertically inside a 300x100 px frame, regardless of text length. Which combination of settings is best?
hard
A. Set text box width and height to fixed 300x100, Text Align: Center, Vertical Align: Middle
B. Set text box width to auto, height fixed 100, Text Align: Left, Vertical Align: Top
C. Set text box width fixed 300, height auto, Text Align: Right, Vertical Align: Bottom
D. Set text box width and height to auto, Text Align: Center, Vertical Align: Middle

Solution

  1. Step 1: Fix text box size to frame size

    To center text regardless of length, the text box must match the frame size (300x100 fixed).
  2. Step 2: Apply center alignments

    Set Text Align to Center for horizontal centering and Vertical Align to Middle for vertical centering.
  3. Final Answer:

    Set text box width and height to fixed 300x100, Text Align: Center, Vertical Align: Middle -> Option A
  4. Quick Check:

    Fixed size + center align = perfect centering [OK]
Hint: Fixed size box + center alignments = centered text [OK]
Common Mistakes:
  • Using auto width or height causing misalignment
  • Choosing left or right text align for centering
  • Ignoring vertical alignment for vertical centering