# Resizing Constraints

> Rules for where a layer sticks, or how it stretches, when its frame grows.

**Field:** Design  
**Category:** Design Tools  
**Also known as:** Constraints (Design Tool), Pinning (Design Tool), Resizing Rules

## Think of it like

It is like a photo pinned to a board. Make the board big, and the pin keeps the photo in its corner.

## Definition

Resizing constraints are rules that say what a layer does when its frame changes size. A layer can stay pinned to the left, right, top or bottom edge. It can stay in the center, or stretch to keep its distance from both sides. It can also grow and shrink with the frame. Designers use them to test one screen at many sizes.

## Example

Tom pins a Send button to the bottom right of a phone frame. When he drags the frame taller, the button stays in the corner.

## Why it matters

You can check one design on a small phone and a big one. Nothing has to be moved by hand.

## Common mistake

Leaving every layer pinned to the top left. When the frame grows, everything piles up in one corner.

## Three principles

- **Pin to an edge.** Keep the same gap.
- **Stretch or scale.** Grow with the frame.
- **Test sizes early.** Drag the frame and watch.

## Related terms

- [Artboard](https://learn.benibix.com/term/design/artboard)
- [Figma Auto Layout](https://learn.benibix.com/term/design/figma-auto-layout)
- [Responsive Web Design](https://learn.benibix.com/term/design/responsive-web-design)
- [Figma](https://learn.benibix.com/term/design/figma)
- [Design Layer](https://learn.benibix.com/term/design/design-layer)

## Told apart from

- [Auto Layout vs Resizing Constraints](https://learn.benibix.com/compare/figma-auto-layout-vs-resizing-constraints): People think Auto Layout and resizing constraints do the same job, and they do not. Auto Layout sizes a frame from what is inside it, so a button grows when its label gets longer. Constraints work the other way. They say what a layer does when the frame around it changes size, such as staying pinned to one corner.

## Taught in

- [Auto Layout and Constraints](https://learn.benibix.com/learn/design-design-tools/auto-layout-and-constraints): Design Tools, 5/12

![Four panels. Anchor points: a curved path with square points on it, one a sharp corner and one smooth with two handle lines. Stroke and fill: the same circle three times, with fill only, stroke only, and both. Image tracing: a blocky pixel shape on the left, an arrow, and the same shape as smooth curves on the right. Resizing constraints: a small frame and a taller frame, with a button pinned to the bottom right corner in both.](https://learn.benibix.com/diagrams/des7-vector-tools.svg)

---

Source: https://learn.benibix.com/term/design/resizing-constraints
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
