Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Figma Design – Figma Learn
  • Create designs
  • Work with layers

Combine layout guides and constraints

Written by Figma Man

Updated at June 19th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Administration – Figma Learn
    Manage files and projects Manage a team Manage your account Manage a Figma organization Manage Enterprise plan settings and permissions Billing Manage Figma in a school
  • Figma Design – Figma Learn
    Create prototypes Import and export Create designs Tour the interface Dev Mode Work together in files Build design systems Figma Draw
  • Get started – Figma Learn
    Set up your account Layers 101
  • FigJam – Figma Learn
    Import and export Run meetings Work on boards Tour the interface
  • Community – Figma Learn
    Explore the Community Creator tools and resources
  • Help – Figma Learn
    Troubleshoot Common questions Work with support
  • Work across Figma – Figma Learn
    Figma AI Work across Figma
  • Courses, tutorials, projects – Figma Learn
    Courses Projects
  • Figma Slides – Figma Learn
    Create and edit slides Present slide decks Tour the interface Import and export
  • Figma Buzz – Figma Learn
    Templates in Figma Buzz Create and edit assets in Figma Buzz Overview
  • Figma Make – Figma Learn
    Tour the interface Work with Figma Make
  • Figma Sites – Figma Learn
    Design a site Create webpages and breakpoints Make your site interactive Preview and publish a site Tour the interface
+ More

Table of Contents

Stretch layout guide Fixed layout guide

Before you start

Who can use this feature

Available on all plans

Users with can edit to a file can use layout guides and constraints

Note: The Figma feature "layout grid" has been renamed to "layout guide" as of May 2025, and is a different feature from the grid option in auto layout.

Constraints allow you to define how objects react when you resize their parent frame. Constraints can control both an object's relative position and size.

Layout guides are visual aids that help you align objects within frames. When you use a layout guide within a frame, Figma aligns objects in that frame to the guide.

You can combine layout guides with constraints to create powerful and flexible layouts. This gives you more granular control over how objects respond as you resize them.

Layout guides can have fixed dimensions or stretch as you resize the frame. The type of layout guide will determine whether Figma prioritizes the guide or any constraints.

In our example below, we have applied center constraints to the plus icon in our cards. We can see how Figma determines that object's position, depending on the type of layout guide we use.

layout-grid-constraints.png

Stretch layout guide

If your guide is set to Stretch, Figma will base an object’s constraints on the guide's nearest column or row.

Stretch layout guides adapt to the size of the frame. This allows your designs to respond when you resize the frame. Figma will set the width and height of the guide so that it corresponds to the frame size.

When you use stretch, Figma takes into account the object's constraints, relative to the layout guide.

In our example below, the cards in our design uses a stretch layout guide. Our left screen uses the frame preset for the iPhone 11 Pro, and the right uses the iPad Pro 11".

We can see that Figma has stretched the layout guide to match the card's new dimensions. We can also see that the plus icon is still in the center of the right guide column.

Image_showing_an_iPhone_screen_on_the_left_and_an_iPad_screen_on_the_right_with_a_stretch_layout_grid.png

Fixed layout guide

Fixed layout guides let you choose how many columns and rows are in your guide. You can then define both the width of the columns and the height of the rows.

You can then fix the position of a fixed layout guide in the parent frame:

  • Row: Fix the guide to the top or center of the frame.
  • Column: Fix the guide to the left or the center of the frame.

When you use a fixed layout guide, Figma will honor constraints in relation to the frame and not the guide.

In our example below, the cards in our design use a fixed layout guide. Our left screen uses the frame preset for the iPhone 11 Pro, and the right uses the iPad Pro 11".

Our plus icon uses center constraints. We can see that Figma has set the object's position in relation to the frame and not the layout guide.Image showing an iPhone screen on the left and an iPad screen on the right with a fixed layout grid

Tip: You can nest frames within other frames for even greater control. This allows you to define different behavior between Frames or objects.

If you’re familiar with HTML, this works like a <div> element works in a webpage. Learn more about Grid Systems for screen design.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Select layers and objects
  • Arrange layers with Smart selection
  • Create layout guides
  • Scale layers while maintaining proportions
  • Apply constraints to define how layers resize
  • Blog
  • Best practices
  • QR code generator
  • Color wheel
  • Colors
  • Color picker
  • Color palettes
  • Color palette generator
  • Color contrast checker
  • Font Library
  • Templates
  • Developers
  • Integrations
  • Affiliate program
  • Resource library
  • Reports and insights
  • Support
  • Status
  • Legal and privacy
  • Modern slavery statement
  • Climate disclosure statement
  • COMPARE
  • Sketch
  • Adobe XD
  • Framer
  • Miro
  • COMPANY
  • Events
  • Customers
  • Careers
  • Newsroom
Expand