/
Last updated:
This guide helps designers structure Figma files so they can be converted into responsive web code—or imported into site builders like Creght, Framer, and Webflow—more quickly and accurately.
When a design has responsive “DNA”:
Non-responsive file imported into Creght vs Responsive file imported into Creght
Non-responsive import — result:
(See image)
Main issues:
Responsive import — result:
Key benefits:
We summarize three core principles to help you produce responsive designs.
Web pages should be built from logically distinct content sections (e.g., Hero, About, Product grid, Testimonials). It’s important to follow the sectioning conventions used by major UI libraries.
Example: Webflow’s UI library .
❌ Poor sectioning: elements mixed together, unclear boundaries, hard to separate.
✅ Good sectioning: independent sections, clear hierarchy.
Benefits of clear sectioning:
Within each section, group related elements (for example, everything in a card should be a single group).
❌ Bad grouping: messy layer structure; component parts scattered; responsive adjustments become difficult.
✅ Good grouping: clean layers; easier responsive adjustments.
Why good grouping matters:
Grouping principles to follow:
Case study: Problem Structure:
Wherever possible, use Figma’s Auto Layout inside groups and sections.
Auto Layout is essential for responsive design — major advantages:
Typical example — converting a card from horizontal (desktop) to vertical (mobile):
After applying Auto Layout, switch the direction from horizontal (→) to vertical (↓) and the card rearranges itself.
Auto Layout property guidance: Prefer Fill
or Hug
over fixed sizes.
Fill
: element expands to fill available space.Hug
: element sizes to fit its content.Live demo:
shows container adapting its width to internal changes—no manual width edits needed. This greatly improves efficiency when many elements affect each other.
Exceptions & notes (when to use fixed sizes / Max Width):
Decorative elements: e.g., background decoration layers may need fixed sizes and separate adjustments on mobile((see decorative background example)
2. Unequal content widths: e.g., if card 3 should be twice as wide as card 4, set fixed widths for those cards; on mobile you’ll need to adjust them.
3. Limit a Fill’s max width: e.g., if the right card must stay at 593px, setting it toFillalone will make it fill remaining space. Solutions:
Better Option B: set to Fill
and add Max width = 593px
.
Why B is better: on mobile the width responds automatically and shows well without manual changes.
Backgrounds:
Typical approach: using a Frame or rectangle as a background.
Spacing & alignment:
Common case: Align navigation items to both ends.
❌ Wrong: use large fixed spacers to force alignment.
✅ Right: use Auto Layout’s “space between” (or set spacing to Auto
). The spacing then adjusts dynamically and keeps the alignment.
Content width / containers:
Common practice: set the width directly to Fixed.
Recommended Practice:
2. Set Inner to Auto Layout: width = Fill container, and set a Max width(for example,1280px). Height is usually Hug contents.
3. The outer section (Safe Area) should be Fill. with desired padding.
Max width
Real-world case reference
Non-responsive and responsive example files:
https://www.figma.com/community/file/1529413044116674277
Follow the three core guidelines—clear sectioning, effective grouping, and prioritizing Auto Layout—plus the best practices above, and your Figma files will become structured, highly responsive source files.
This sets the stage for:
Next steps: In the follow-up guide we’ll walk through detailed steps for importing optimized responsive Figma files into Creght, highlight pitfalls to watch for, and list the micro-adjustments you’ll typically need to make.