Put everything in auto layout with Fill and Hug sizing and a max width on your content container, then design the phone layout by hand. Auto layout is the part of a Figma file that survives into responsive CSS. Rearranging content for a phone is an editorial decision, and no tool can infer it from the desktop frame alone. Figma's responsive features describe intent on a canvas. They do not generate a responsive website on their own.
Why does a Figma design not become responsive on its own?
A Figma frame is a fixed-size canvas and every layer inside it has an absolute x and y, while a browser viewport is whatever width the visitor's window happens to be. When a converter reads your file, it mostly reads coordinates. Figma's own Dev Mode shows this: select a layer and the CSS it generates has fixed pixel values. Layers in auto layout come out much closer to real flexbox, and freely positioned layers come out as absolute positioning, because that is what they are.
So the most useful thing you can do for responsiveness is put your design in auto layout instead of positioning by eye.
How does auto layout translate to CSS?
Auto layout is Figma's flexbox. A horizontal auto layout frame with 24px spacing is display: flex; gap: 24px. That is a real mapping, and any decent converter will pick it up.
The resizing modes matter most:
- Fixed pins a dimension to a number.
- Hug contents shrinks the frame to its children, roughly
width: fit-content. - Fill container makes a child expand into the available space, roughly
flex: 1.
A nav bar should be a horizontal auto layout with the logo hugging, a spacer filling and the links hugging. Resize the frame and it behaves. Build the same nav by positioning three elements by eye and it will not.
Set min and max width too. Select a width field to add either one, which stops a text column becoming a 1400px-wide line of unreadable copy. Max width on your main content container is the most useful constraint in the file, and 1200px is a typical value.
Auto layout also has wrap, on horizontal flows only. That is flex-wrap: wrap, and it lets a row of four cards become two rows of two on a narrower screen without a second design.
When do constraints matter?
Constraints matter for layers you did not put in auto layout. If a layer sits directly on a plain frame, constraints control what happens when the parent resizes: left, right, center, scale, or left and right together to stretch. They are the older mechanism and still suit background layers and absolutely positioned decoration.
Constraints tell Figma how to behave when you drag a handle. Whether they survive into code depends on the tool that converts the file, so do not assume.
Do I still need a separate mobile frame?
Yes, because real mobile layouts rearrange instead of scaling. Scale a 1440px desktop layout down to a 390px phone and 16px body text becomes about 4px. A three-column feature row stacks vertically, a horizontal nav becomes a hamburger, the hero image beside the headline goes above it or disappears, and half the desktop copy gets cut because it does not earn the space. A machine cannot infer those changes from the desktop frame.
Sizes that cover most of the real world: 1440px wide for desktop and 390px for mobile. Add a 768px tablet frame only if the design genuinely changes there, because a third frame is a third thing to keep in sync.
Figment does not merge separate desktop and phone frames into responsive versions of one page. Each top-level frame you select becomes its own website page, so select one frame per actual page and use the phone design as a reference when you correct the layout.
What is a workable process?
Design the desktop frame first, with auto layout throughout and a max width on the content container. Then duplicate it, resize the frame to 390px, and fix what breaks. If you built it in auto layout, a surprising amount survives the resize and you are editing instead of rebuilding. If you positioned layers by hand, you are rebuilding.
Name both frames clearly so whatever tool publishes them can tell which is which.
What should I check before I publish?
- Desktop frame at 1440px wide, built entirely in auto layout.
- Fill and Hug sizing used instead of fixed widths wherever content can vary.
- Max width set on the main content container (1200px is a reasonable default).
- Mobile frame at 390px wide, built and edited separately, not a scaled-down desktop frame.
- A 768px tablet frame only if the design genuinely changes there.
- Both frames named clearly.
If you publish with Figment, select one frame for each actual page, then test the published layout at desktop and phone widths. Follow the current Figment publishing steps and the website checklist before you share the URL. Free uses a figment.so address with a Figment badge, and Pro and Studio add custom domains (see pricing).