Relative, fixed, and viewport Sizing in Framer — lesson cover image

This lesson was released before Agents, Branching, and the CMS update on June 16, 2026. Some UI may differ, but the core concepts still apply.

Joseph

7:05

Use relative, fixed, and viewport sizing in Framer

Learn how to use relative, fixed, and viewport sizing in Framer. Creating layouts that look and behave the way you want them to largely comes down to choosing the right sizing mode for each element. You will use the canvas and layout controls to make the result fit the rest of your design system.

Lesson details

Use relative sizing when a layer should follow its container, fixed sizing when it needs a stable dimension, and viewport units when the design relates directly to the browser area. Combine flexible values with minimum and maximum limits for a controlled range.

Test each mode inside the actual parent layout. Viewport height can behave differently on mobile browsers, and fixed values can overflow when text or translated content grows.

Use shared styles and Components when the choice repeats, and keep one-off adjustments local. Clear ownership prevents a small visual edit from creating inconsistent versions across pages.

Frequently asked questions
How do I use relative, fixed, and viewport sizing in Framer?

Learn how to use relative, fixed, and viewport sizing in Framer. Creating layouts that look and behave the way you want them to largely comes down to choosing the right sizing mode for each element. You will use the canvas and layout controls to make the result fit the rest of your design system.

What does this lesson cover?

The lesson covers the settings and steps used to use relative, fixed, and viewport sizing in Framer. See Viewport Width (vw). Follow the demonstrated order in your project and review each change on the canvas before moving to the next step.

How should I test this layout across breakpoints?

Preview the page at wide, medium, and narrow widths, then resize between those points. Check wrapping, alignment, sizing, and reading order instead of testing only preset device widths. Adjust the Frames, Stacks, grid settings, or text controls covered in the lesson when the layout starts to break.

Can I use this layout workflow across breakpoints?

Yes. Preview the page at wide, medium, and narrow widths, then resize between those points. Check wrapping, alignment, sizing, and reading order instead of testing only preset device widths. Adjust the Frames, Stacks, grid settings, or text controls covered in the lesson when the layout starts to break.

What should I review after I use relative, fixed, and viewport sizing in Framer?

Review the exact pages and elements changed by the workflow. Confirm that copy, links, accessibility, responsive behavior, and interaction states still work as intended. Use preview for the final check and keep publishing separate from editing so you can fix problems before visitors see the update.