Bird
Raised Fist0
Figmabi_tool~10 mins

Frame vs group difference in Figma - Interactive Practice

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a Frame in Figma.

Figma
const container = figma.currentPage.[1]({ name: 'Main Frame' });
Drag options to blanks, or click blank then click option'
AcreateFrame
BcreateGroup
CcreateComponent
DcreateRectangle
Attempts:
3 left
💡 Hint
Common Mistakes
Using createGroup instead of createFrame
Confusing frames with components
2fill in blank
medium

Complete the code to create a Group in Figma.

Figma
const group = figma.currentPage.[1](nodes);
Drag options to blanks, or click blank then click option'
AcreateFrame
BcreateGroup
CcreateComponent
DcreateInstance
Attempts:
3 left
💡 Hint
Common Mistakes
Using createFrame instead of createGroup
Trying to create a group without nodes
3fill in blank
hard

Fix the error in the code to add a child to a Frame.

Figma
frame.[1](child);
Drag options to blanks, or click blank then click option'
Aadd
BaddChild
Cappend
DappendChild
Attempts:
3 left
💡 Hint
Common Mistakes
Using addChild which does not exist
Using append which is not a Figma method
4fill in blank
hard

Fill both blanks to check if a node is a Frame or a Group.

Figma
if (node.type === [1] || node.type === [2]) {
  console.log('Node is a container');
}
Drag options to blanks, or click blank then click option'
A"FRAME"
B"GROUP"
C"COMPONENT"
D"INSTANCE"
Attempts:
3 left
💡 Hint
Common Mistakes
Using COMPONENT or INSTANCE instead of FRAME or GROUP
Using lowercase strings instead of uppercase
5fill in blank
hard

Fill all three blanks to create a Frame, add a child, and set layout mode.

Figma
const frame = figma.currentPage.[1]({ name: 'Container' });
frame.[2](childNode);
frame.layoutMode = [3];
Drag options to blanks, or click blank then click option'
AcreateFrame
BappendChild
C"HORIZONTAL"
DcreateGroup
Attempts:
3 left
💡 Hint
Common Mistakes
Using createGroup instead of createFrame
Using addChild instead of appendChild
Setting layoutMode to an invalid value

Practice

(1/5)
1. What is the main difference between a Frame and a Group in Figma?
easy
A. Groups allow flexible design control; frames only move elements together.
B. Groups have layout and constraints; frames are just collections of elements.
C. Frames and groups are exactly the same in Figma.
D. Frames have layout and constraints; groups are just collections of elements.

Solution

  1. Step 1: Understand Frame properties

    Frames act as containers with layout and constraints to control child elements.
  2. Step 2: Understand Group properties

    Groups simply collect elements to move or transform them together without layout control.
  3. Final Answer:

    Frames have layout and constraints; groups are just collections of elements. -> Option D
  4. Quick Check:

    Frames = layout control, Groups = simple collections [OK]
Hint: Frames control layout; groups just bundle elements [OK]
Common Mistakes:
  • Thinking groups have layout controls
  • Confusing frames and groups as identical
  • Assuming groups affect element resizing
2. Which of the following is the correct way to create a Frame in Figma?
easy
A. Select elements and press Ctrl + Alt + G to create a frame.
B. Select elements and press Ctrl + G to group them.
C. Select elements and press Ctrl + Alt + F to create a frame.
D. Select elements and press Ctrl + Shift + G to create a frame.

Solution

  1. Step 1: Recall Figma shortcuts

    Grouping elements uses Ctrl + G, not frames.
  2. Step 2: Identify frame shortcut

    Creating a frame from selected elements uses Ctrl + Alt + G.
  3. Final Answer:

    Select elements and press Ctrl + Alt + G to create a frame. -> Option A
  4. Quick Check:

    Frame shortcut = Ctrl + Alt + G [OK]
Hint: Frame shortcut includes Alt key, group does not [OK]
Common Mistakes:
  • Using group shortcut for frame creation
  • Confusing Shift and Alt keys in shortcuts
  • Assuming Ctrl + Alt + F creates a frame
3. Given a Frame with constraints set on child elements, what happens when you resize the Frame?
medium
A. Child elements stay fixed and do not move or resize.
B. The Frame automatically converts to a Group.
C. Child elements resize or reposition based on constraints.
D. Child elements get deleted automatically.

Solution

  1. Step 1: Understand constraints in Frames

    Constraints define how child elements behave when the Frame resizes.
  2. Step 2: Effect of resizing Frame

    Child elements adjust size or position according to their constraints inside the Frame.
  3. Final Answer:

    Child elements resize or reposition based on constraints. -> Option C
  4. Quick Check:

    Constraints control child resizing in Frames [OK]
Hint: Constraints control child resizing inside Frames [OK]
Common Mistakes:
  • Thinking child elements stay fixed always
  • Believing Frame converts to Group on resize
  • Assuming children get deleted on resize
4. You tried to resize a Group expecting child elements to reposition, but they stayed fixed. What is the likely issue?
medium
A. You accidentally created a Frame instead of a Group.
B. Groups do not support constraints, so children don't reposition.
C. You need to enable constraints manually on Groups.
D. Groups automatically resize children, so this is unexpected.

Solution

  1. Step 1: Recall Group behavior

    Groups are simple collections without layout or constraints.
  2. Step 2: Effect on resizing Groups

    Child elements inside Groups do not reposition or resize automatically.
  3. Final Answer:

    Groups do not support constraints, so children don't reposition. -> Option B
  4. Quick Check:

    Groups lack constraints, children stay fixed [OK]
Hint: Groups lack constraints; children stay fixed on resize [OK]
Common Mistakes:
  • Thinking Groups support constraints
  • Assuming constraints can be enabled on Groups
  • Confusing Frames and Groups behavior
5. You want to design a responsive button that resizes text and icon proportionally inside it. Which should you use and why?
hard
A. Use a Frame because it supports constraints to resize children proportionally.
B. Use a Group because it automatically resizes children proportionally.
C. Use a Group because it's faster to create and move elements together.
D. Use a Frame because Groups cannot be resized.

Solution

  1. Step 1: Identify design need

    The button requires children (text and icon) to resize proportionally.
  2. Step 2: Choose container type

    Frames support constraints that allow proportional resizing of child elements.
  3. Step 3: Evaluate options

    Groups do not support constraints or proportional resizing.
  4. Final Answer:

    Use a Frame because it supports constraints to resize children proportionally. -> Option A
  5. Quick Check:

    Responsive design needs Frames with constraints [OK]
Hint: Responsive resizing needs Frames with constraints [OK]
Common Mistakes:
  • Choosing Groups for responsive resizing
  • Thinking Groups resize children automatically
  • Believing Frames cannot resize children