Designers use Figma for its powerful, flexible, and collaborative interface capabilities. Among its most celebrated features is the Auto Layout system, which allows components to resize and reposition dynamically. However, one of the most requested and, sometimes, confusing features in Auto Layout is the ability to automatically wrap child elements—a functionality that wasn’t always intuitive. Understanding how to auto-wrap in Figma Auto Layout will take your UI design to the next level, allowing you to build more responsive components and layouts with less manual effort.
TL;DR
Auto-wrapping in Figma Auto Layout lets elements within a frame automatically move to a new row or column when they run out of space, similar to flex-wrap in CSS. Use the horizontal or vertical layout direction in combination with the wrap setting to enable this behavior. Auto-wrap is particularly useful for buttons, chips, cards, and other components that should flow naturally depending on screen size. Make sure to configure spacing and resizing settings properly to control the layout effectively.
What Is Auto Layout in Figma?
Before diving into auto-wrapping, it’s crucial to understand the foundation—Auto Layout itself. Auto Layout in Figma lets you organize elements inside a frame using preset rules for spacing, alignment, and resizing. It’s especially beneficial for:
- Creating responsive buttons and containers
- Consistent padding and margin between components
- Dynamic layouts that adjust as content changes
By default, Auto Layout stacks layers horizontally or vertically according to your settings. But that default behavior limits the frame to one row or column, and that’s where auto-wrap comes into play.
Enter Auto-Wrapping: The Game Changer
Much like how developers use CSS flex-wrap to allow items to wrap onto multiple lines, Figma now offers similar behavior through its Auto Layout functionality. This makes designing responsive UIs much easier, especially when designing rows of buttons, tags, or cards.
When auto-wrap is activated, child elements inside an Auto Layout frame will wrap to a new row or column once they exceed the defined boundary of the container. It’s ideal for:
- Tag components or badges that need to fit within varying widths
- Responsive card grids that adjust to screen size
- Dynamic lists, like product grids or photo galleries

How to Enable Auto-Wrap in Figma
Let’s go step-by-step to activate wrapping in Figma’s Auto Layout system.
Step 1: Create Your Frame and Add Auto Layout
Start with a simple frame (press F or draw a frame on the canvas). Add a few elements inside it—text layers, chips, or card components, for example. Once your elements are in place, select the parent frame and click “+” next to Auto Layout in the right-hand properties panel or use the keyboard shortcut Shift+A.
Step 2: Set Layout Direction and Wrap
In the properties panel:
- Under Direction, choose whether you’ll align your components horizontally or vertically.
- Underneath Direction, you’ll find a toggle labeled “Wrap”.
- Click the “Wrap” toggle to turn wrapping on.
Now, your items will automatically wrap to the next line or column when they reach the container’s edge. If you widen or narrow the frame, the items will reflow accordingly. That’s the power of auto-wrap!
Step 3: Adjust Spacing and Padding
Fine-tune your layout with these settings:
- Spacing between items: Controls the distance between child elements.
- Padding: Adds internal spacing within the Auto Layout frame.
- Alignment: Determines whether items are aligned to the start, center, end, or equally spaced.
Combining these parameters gives you granular control over the look and feel of your design.
Understanding the Limitations
While auto-wrap is a fantastic tool, it does come with some nuances:
- Fixed vs Hug Container: If your frame is set to “Fill Container” or “Fixed Width,” wrapping behavior depends on frame resizing.
- Inconsistent Heights: Items with different heights may not align perfectly when wrapped.
- Nested Auto Layouts: Wrapping works best on a single level. For complex wrapping logic, consider nesting with purpose.
Being aware of these limitations can save you time on debugging and help you plan better component structures.
Tips and Best Practices
Here are some useful tips to make the most out of auto-wrapping in Figma:
- Use constraints wisely: Set child elements to “Hug” or “Fill” depending on what feels most natural for the layout flow.
- Preview different screen sizes: Use Figma’s device frames and manual resizing to test how the design adapts.
- Combine with variants: Enable context-specific behaviors by combining auto-wrap with component variants.
- Keep content modular: Design components so that they can stand alone even when wrapped or repositioned.

Real-World Use Cases
Let’s go through a few practical scenarios where auto-wrap works like magic.
1. Tags and Chips
A common UI pattern involves a row of tags or chips that a user can click. With auto-wrap, instead of tags going off the edge of a frame, they wrap to the next line.
2. Responsive Card Grid
Suppose you’re designing a product listing page. Instead of defining multiple static breakpoints, you can use Figma’s auto-wrap to let cards flow naturally based on width. Just define an initial spacing and let the layout do the rest.
3. Button Toolbars
Toolbar layouts change between desktop and mobile views. Auto-wrap lets the set of buttons break into multiple rows based on available space, ensuring usability across devices.
Troubleshooting Common Issues
If it’s not working the way you imagine, don’t worry—here’s a checklist to debug common wrapping issues:
- Is Auto Layout applied? Wrapping only works when Auto Layout is active.
- Is the Wrap toggle enabled? This might sound obvious, but it’s a common oversight.
- Check resizing settings: If items or the frame are set to “Fixed,” they may prevent wrapping.
- Nested Frames: Wrapping might not behave as expected if you nest too many layers.
Solving these minor issues early ensures your design system scales beautifully across components and screens.
The Future of Auto Layout and Wrapping
Figma is continuously evolving, and features like wrapping point toward a future where layout management becomes more intuitive and code-like. We can expect even greater control, like condition-based constraints and more responsive preview tools, as the platform grows.
For now, mastering auto wrapping in Auto Layout enables you to design components that look great without needing extensive overrides or resizing on every breakpoint.
Conclusion
Learning how to use auto-wrapping with Figma Auto Layout opens up a world of dynamic, scalable UI design possibilities. Whether you’re building complex components, responsive pages, or just keeping things tidy, wrapping helps keep your design fast and consistent. With just a few setup steps and an understanding of how each setting affects layout behavior, wrapping saves time and improves the quality of your UI systems.
So the next time you’re building a flexible layout that needs to adapt intelligently to space, turn to auto-wrapping—it’s like giving your design a brain!