Definition

What is Constraints?

Rules that define how an element resizes and repositions relative to its parent frame when the parent changes size.

Why It Matters

Constraints are essential for responsive design. They answer the question: "When this frame gets wider/taller, what should happen to this element?" Options include pinning to edges (left, right, top, bottom, center), scaling proportionally, or a combination. Proper constraints make resizing predictable and reduce the need for manual adjustments.

Examples

1

A navigation bar pinned left-right stretches with the viewport while maintaining internal padding.

2

A centered modal constrained to "Center" horizontally stays centered regardless of screen width.

3

A corner badge constrained "Top" and "Right" stays in the corner as the parent card resizes.

Explore More Design Terms

Browse our complete glossary of Figma and design systems terminology.