0
100
200
300
400
500
600
700
800
900
1000
1100
0
100
200
300
400
500
600
700
800
900
1000
1100
Guide · Text & fonts

How Do You Scale Text to Fit a Container in Figma?

Press K to switch to the Scale tool, then drag a corner handle. The text grows or shrinks in proportion, font size included. With the normal Move tool, dragging a handle only changes the size of the text box, and the type stays the same size.

If you want the text to stay the same size and the box to fit it, change the text layer's resizing mode instead (Auto width, Auto height or Fixed size). If the text is too long for a fixed box, turn on Truncate text to end it with an ellipsis.

Updated Sep 24, 20265 min read
On this page
5 steps

Quick steps

1

Select the text layer or its container

Click the text layer. To scale a whole card with its text, select the frame instead.

2

Switch to the Scale tool

Press K. The Scale tool works the same on Mac and Windows.

3

Drag a handle

Drag any corner or edge handle. Figma scales everything in proportion, including font size, strokes and blurs.

4

Or type an exact multiplier

In the right sidebar, enter a scale value and choose an anchor point in the anchor box to control which side stays put.

5

Switch back before your next resize

Return to the Move tool from the toolbar so the next drag resizes boxes again instead of scaling them.

01

Why dragging doesn't make Figma text bigger

A text layer in Figma is a box with type inside it. When you drag a handle with the Move tool, you change the box. Depending on the resizing mode, the text rewraps or overflows. The font size never changes, which is why "scale text to fit container" is one of the most viewed threads on the Figma forum (about 43k views).

The Scale tool (K) works differently. It resizes a layer and everything that depends on its size: font size, stroke weight, effects and blurs. It also ignores nested constraints, so a frame and its contents scale as one unit.

Scale toolMacKWindowsK
Change font sizeMac⇧⌘<or⇧⌘>WindowsCtrlShift<orCtrlShift>
Ignore constraints while resizingMac⌘ (hold)WindowsCtrl (hold)

The font size shortcut steps the size up or down without touching the box, which is handy when you only need a couple of points. More text keys are in Figma text shortcuts.

02

Scale a whole card, text included

Select the frame rather than the text layer when you want a button, card or badge to grow as one piece. With the Scale tool, the padding, corner radius, icon, stroke weight and font size all grow by the same factor. Resize the same frame with the Move tool and only the frame changes, while its children follow their constraints or auto layout settings.

For an exact result, type a multiplier in the right sidebar instead of dragging. Scaling by 2 doubles everything. The anchor box sets which point stays fixed, so pick the top-left square to keep a card pinned in place while it grows down and to the right.

03

When the Scale tool won't scale text

  • The layer is locked. The Scale tool can't scale locked layers. Unlock it with ⌘⇧L (Mac) or Ctrl+Shift+L (Windows).
  • The text is nested inside an instance. Scale can't reach layers inside instances. Scale the whole instance, edit the main component, or detach if you really need a one-off.
  • You're still on the Move tool. If the handles only resize the box, press K and try again.
04

Make the text box fit the text

Often the real goal is the opposite: keep the type size and make the box hug the words. Text layers have three resizing modes in the Typography section of the right sidebar.

  • Auto width grows the box sideways as you type. The text never wraps.
  • Auto height keeps the width fixed and grows the box downward as lines wrap. This is the usual choice for paragraphs.
  • Fixed size keeps both dimensions. Text wraps, and anything that doesn't fit overflows the box.

Clicking once with the Text tool creates an Auto width layer. Clicking and dragging creates a Fixed size box. Inside an auto layout frame, a text layer set to Fill container stretches with its parent; see fill container vs hug contents for how those sizing options interact.

05

Truncate text that doesn't fit

For labels and cards with a fixed size, turn on Truncate text in the text layer's type settings. Figma hides the overflow and adds an ellipsis at the end. Once truncation is on, a Max lines setting appears, so you can let a title run to two lines before it cuts off.

  • Max lines only appears when truncation is on.
  • Max lines needs the text layer set to auto height or auto width, or hug contents in auto layout.
  • A text layer can't have both a max height and max lines.
If truncation doesn't seem to work, check the resizing mode first. A text layer set to Auto width has nothing to truncate against, because the box keeps growing.
06

Scaling vs changing font size

Scaling is fine for a quick mockup, but dragging rarely lands on a round font size. For production screens, set the font size, then adjust line height and letter spacing on their own. If the text looks off after scaling, the font may have loaded a fallback; fonts not showing in Figma covers that.

Ranked listBest Figma plugins for typography and fonts
FAQ

Frequently asked questions

How do I resize text in Figma by dragging?

Press K to switch to the Scale tool, then drag a handle. The font size changes along with the box. With the Move tool, dragging only changes the text box.

What is the Figma shortcut for scale?

K, on both Mac and Windows. It scales the selection in proportion, including font size, strokes and blurs, and has a multiplier field and an anchor box in the right sidebar.

Why is truncate text not working in Figma?

Truncation needs a box for the text to overflow. Set the layer to Fixed size or Auto height so the width is fixed. Max lines only appears once truncation is on, and it can't be combined with a max height.

Why is scale not working in Figma?

The Scale tool can't scale locked layers or layers nested inside instances. Unlock the layer with Cmd+Shift+L or Ctrl+Shift+L, or scale the whole instance instead.

Keep learning

More in Text & fonts

All guides in Text & fonts