Frame vs Group in Figma: Which One Should You Use?
Use a frame when the box needs a fill, corners, padding, auto layout or clipping. Use a group to move a few layers as one. Both built and resized side by side, with a decision table and shortcuts.

Frames and groups both bundle layers into one thing you can select and move, so they look interchangeable until you resize one. Below: both dragged wider side by side, the jobs only a frame can do, the job a group does well, a decision table and the shortcuts.
Frame vs group: who decides the size?
A frame has a size of its own. You set it, or auto layout works it out, and the layers inside live within that box. A group has no size of its own. By default it takes the combined dimensions of its children, so its box moves whenever they do.
Figma's developer docs put the same difference in two comparisons: a group is like a folder in the layers panel, while a frame defines layout and is closer to a <div> in HTML.
Drag a frame wider: only the box changes
Frame, before

Frame, dragged wider

The avatar frame goes from 88 wide to 164. The photo is still 64 by 64, still 12 from the left, and the online dot is still on its shoulder. Only the box and its gray fill grew.
That is the default, because new layers in a frame are pinned to the top and left. Constraints let you change it per layer: pin a close button to the right, center a logo, or tell a background to stretch with the frame. To ignore constraints for one drag, hold Command (Ctrl on Windows) while you resize.
Drag a group wider: everything inside stretches
Group, before

Group, dragged wider

The same photo and dot, grouped, go from 64 wide to 156. The round avatar turns into an oval and the 16 wide dot stretches to 39. The photo itself is not squashed, because it uses Figma's Fill image mode, which crops to the new shape. The shape holding it is what changed.
A group resizes the way a set of vectors scales. Stroke weights, effects and type sizes do not scale with it, so the dot keeps its 2 pixel white ring while the dot itself gets wider. To scale those too, use the Scale tool (K).
When a frame is right

This product card needs things a group cannot give it:
- A fill, a stroke or corners. The white background and the rounded edge belong to the card, not to an extra rectangle behind it.
- Auto layout or padding. The even space around the photo and the text is a setting on the frame, and it holds when the content changes.
- Clipping. A frame can hide whatever runs past its edge.
- Constraints. Layers inside a frame can be pinned to its sides or center when it resizes.
The tag under the card reads 290 × Hug: a set width, and a height that follows the content. The hug vs fill guide covers those settings one by one.
Auto layout: the card grows with its text
One line title

Two line title

Give the product a longer name and the card goes from 111 tall to 125 on its own. With a group and a background rectangle, you would move the price down and then drag the rectangle to match, on every card that changed.
Clip content: hide what runs past the edge
Clip content off

Clip content on

Clip content is a checkbox on the frame. Off, the photo hangs past the top and right edges. On, the frame hides everything outside itself. Carousels, scrolling lists and image crops all depend on it.
When a group is right

A sun and a cloud that make one weather mark are a good group. Pick a group when:
- Its box should always match its layers. No spare space to manage, no size to keep updating.
- It holds the parts of one icon or drawing. Select, move and duplicate them together, and double-click to reach a single part.
- It needs no fill, padding or layout. A group has no background, stroke, corner radius, auto layout or clip content setting. It does take opacity and effects.
The group box follows its layers
Before

Sun moved right

Move the sun 40 to the right and the group goes from 142 wide to 182. You never resize the group yourself to make room. A frame without auto layout would have stayed at its old size until you changed it or chose Resize to fit.
And it stretches with the box

Drag the same group from 142 wide to 213 and both icons get half as wide again: the sun's 84 box becomes 126, the cloud's 112 becomes 168.
Frame or group: a decision table
| You are building | Pick | Why |
|---|---|---|
| A card with a background | Frame | The fill and corners belong to the box |
| A button | Frame | It needs padding and auto layout |
| A screen | Frame | It has a set size and clips what runs off it |
| A list that adds and removes rows | Frame | Auto layout reflows the rows |
| An image cropped by its container | Frame | Clip content hides the overflow |
| A layout that resizes across screen widths | Frame | Constraints or auto layout control the children |
| The strokes of one illustration | Group | They only need to move as one |
| A row of partner logos you move around | Group | No background or layout needed |
| A few layers you want to nudge together once | Group | Quick to make, quick to undo |
When you are unsure, ask the one question: does this box need a fill or a layout? If yes, make it a frame. If you are only bundling layers, group them.
Shortcuts and switching between them
| Action | Mac | Windows |
|---|---|---|
| Group the selection | Command G | Control G |
| Put a frame around the selection | Option Command G | Control Alt G |
| Add auto layout | Shift A | Shift A |
| Ungroup, or remove a frame and keep its layers | Command Delete | Control Backspace |
Picked the wrong one? Figma lets you convert a group into a frame, or a frame into a group. After converting to a frame, check the size and constraints, because the box now stays put while its layers move.
In code
A frame maps naturally to a container element with its own styles. A group has no direct match, because it adds nothing to the box.
| Figma frame setting | Closest CSS |
|---|---|
| Fill, stroke, corner radius | background, border, border-radius |
| Auto layout and padding | display: flex, gap, padding |
| Clip content | overflow: hidden |
| Constraints | Positioning against the parent's edges |
Frames also make a file easier to read for whoever builds it. Name them for what they hold, as the Figma file organization guide shows, and the design handoff guide covers the rest of the trip to code.
FAQ
What is the difference between a frame and a group in Figma?
A frame has its own size and can have a fill, stroke, corners, auto layout and clip content. A group's box is set by the layers inside it and has none of those box settings.
When should I use a frame in Figma?
Use a frame for screens, cards, buttons, lists and anything that needs a background, padding, auto layout, clipping or its own resizing rules.
When should I use a group in Figma?
Use a group to select and move a few layers as one, such as the parts of an icon or an illustration, when they need no background or layout.
Why does my content stretch when I resize in Figma?
You are probably resizing a group, which scales its layers. In a frame, check each layer's constraints, since Left and right, Top and bottom, or Scale will also change its size.
What is the shortcut to put a frame around layers in Figma?
Select the layers and press Option Command G on a Mac, or Control Alt G on Windows.
Sources
- The difference between frames and groups, Figma Help Center: groups take the combined size of their children, a frame's size is set explicitly, group, frame and ungroup shortcuts.
- When to use groups versus frames, Figma: groups scale like vectors, strokes, effects and type sizes do not, the Scale tool, default Top and Left constraints, clip content, Resize to fit.
- Frames in Figma Design, Figma Help Center: frame properties and Frame selection.
- Apply constraints to define how layers resize, Figma Help Center: constraint options, ignoring constraints, groups.
- Add auto layout to a design, Figma Help Center: the Shift A shortcut.
- GroupNode, Figma Developer Docs: groups are sized to fit their content, the folder and div comparison, switching between frame and group.
- The avatar, product card, price and weather mark are demos made for this page. The sizes shown for dragging and moving the avatar and the weather mark, and the missing box settings on a group, were checked in Figma. Icons: Lucide. Photos from Pexels: Ajan Yogi (avatar), José Martin Segura Benites (sneakers).
- First published as a carousel on UX Brainy.





