0
0
Figmabi_tool~15 mins

Boolean operations (union, subtract, intersect, exclude) in Figma - Deep Dive

Choose your learning style9 modes available
Overview - Boolean operations (union, subtract, intersect, exclude)
What is it?
Boolean operations in Figma let you combine or change shapes by joining, cutting, or overlapping them. These operations include union, subtract, intersect, and exclude. They help create complex shapes from simple ones without drawing from scratch. Anyone can use them to design faster and cleaner visuals.
Why it matters
Without Boolean operations, designers would spend much more time manually drawing or erasing parts of shapes to get the desired look. This slows down design work and makes editing harder. Boolean operations solve this by letting you quickly combine or remove parts of shapes, making design changes easy and flexible.
Where it fits
Before learning Boolean operations, you should know basic shape creation and selection in Figma. After mastering these, you can explore advanced vector editing and component design. Boolean operations are a key step between simple shapes and complex, reusable design elements.
Mental Model
Core Idea
Boolean operations let you combine or cut shapes like puzzle pieces to create new shapes quickly and flexibly.
Think of it like...
Imagine you have cookie cutters of different shapes. You can press them together to make a bigger cookie (union), cut one shape out of another (subtract), keep only the overlapping part (intersect), or remove the overlapping part (exclude).
Shapes A and B combined by Boolean operations:

  ┌─────┐       ┌─────┐
  │  A  │       │  B  │
  └─────┘       └─────┘

Union: A ∪ B  → One shape covering both A and B
Subtract: A - B → Shape A with B's area cut out
Intersect: A ∩ B → Only the overlapping area of A and B
Exclude: A ⊕ B → A and B combined but overlapping parts removed
Build-Up - 6 Steps
1
FoundationUnderstanding Basic Shapes in Figma
🤔
Concept: Learn how to create and select simple shapes as the building blocks for Boolean operations.
In Figma, you can create rectangles, circles, triangles, and other shapes using the shape tools. Click and drag on the canvas to draw a shape. You can select shapes by clicking on them. These shapes are the starting point for Boolean operations.
Result
You can create and select multiple shapes on the canvas.
Knowing how to create and select shapes is essential because Boolean operations work by combining these shapes.
2
FoundationWhat Are Boolean Operations?
🤔
Concept: Introduce the four main Boolean operations and what they do to shapes.
Boolean operations combine two or more shapes in different ways: - Union: merges shapes into one big shape - Subtract: removes the top shape's area from the bottom shape - Intersect: keeps only the overlapping area - Exclude: removes the overlapping area, leaving non-overlapping parts These operations let you create complex shapes easily.
Result
You understand the purpose and effect of each Boolean operation.
Recognizing the four Boolean operations helps you choose the right one for your design goal.
3
IntermediateApplying Union and Subtract Operations
🤔Before reading on: do you think union adds shapes together or cuts one from another? Commit to your answer.
Concept: Learn how to use union to merge shapes and subtract to cut one shape from another in Figma.
Select two or more shapes, then click the Union button to merge them into one shape covering all areas. To subtract, select shapes with the one to subtract on top, then click Subtract. The top shape's area is cut out from the bottom shape.
Result
You can create new shapes by merging or cutting shapes.
Understanding how union and subtract change shapes helps you build complex designs efficiently.
4
IntermediateUsing Intersect and Exclude Operations
🤔Before reading on: does intersect keep overlapping parts or remove them? Commit to your answer.
Concept: Learn how intersect keeps only overlapping areas and exclude removes overlapping areas between shapes.
Select two or more shapes, then click Intersect to keep only the area where all shapes overlap. Click Exclude to remove overlapping areas, leaving only the parts that don't overlap.
Result
You can isolate or remove overlapping parts of shapes.
Knowing intersect and exclude lets you control shape overlaps precisely for cleaner designs.
5
AdvancedEditing Boolean Groups After Creation
🤔Before reading on: do you think Boolean groups can be edited like normal shapes after creation? Commit to your answer.
Concept: Learn how Boolean operations create groups that can be edited by adjusting individual shapes inside them.
After applying a Boolean operation, Figma groups the shapes. You can double-click the group to enter and move or resize individual shapes. This updates the combined shape dynamically without starting over.
Result
You can fine-tune complex shapes by editing their parts inside Boolean groups.
Knowing Boolean groups are editable prevents redoing work and supports flexible design changes.
6
ExpertBoolean Operations and Performance in Large Designs
🤔Before reading on: do you think many Boolean operations slow down Figma or have no effect? Commit to your answer.
Concept: Understand how excessive Boolean operations can affect Figma's performance and how to optimize designs.
Boolean operations add complexity to vector shapes. Using many nested Boolean groups can slow down rendering and editing. Experts flatten Boolean groups when finalizing designs or use components to manage complexity. This keeps files fast and responsive.
Result
You can balance design complexity and performance by managing Boolean operations wisely.
Knowing the performance impact helps you design efficiently and avoid slowdowns in large projects.
Under the Hood
Boolean operations work by combining the vector paths of shapes mathematically. Each shape is defined by points and curves. The operations calculate new paths by adding, subtracting, or intersecting these areas to form a new vector shape. Figma keeps the original shapes inside a group so changes update the combined shape dynamically.
Why designed this way?
Boolean operations were designed to let designers create complex shapes without redrawing. Keeping original shapes editable inside groups allows flexible changes later. This approach balances ease of use with powerful vector editing, unlike destructive editing which loses original shapes.
Shapes A and B paths combined:

  ┌───────────────┐
  │   Shape A     │
  │  ┌───────┐    │
  │  │       │    │
  │  └───────┘    │
  │               │
  │   Shape B     │
  │     ┌─────┐   │
  │     │     │   │
  │     └─────┘   │
  └───────────────┘

Boolean operation calculates new path from overlap or difference of these shapes.
Myth Busters - 3 Common Misconceptions
Quick: Does subtract remove the bottom shape or the top shape? Commit to your answer.
Common Belief:Subtract removes the bottom shape completely.
Tap to reveal reality
Reality:Subtract removes the area of the top shape from the bottom shape, not the entire bottom shape.
Why it matters:Misunderstanding this leads to unexpected shape results and wasted time fixing designs.
Quick: Can you edit individual shapes inside a Boolean group after applying the operation? Commit to yes or no.
Common Belief:Once combined, Boolean shapes become one and cannot be edited separately.
Tap to reveal reality
Reality:Boolean groups keep original shapes editable inside, allowing adjustments anytime.
Why it matters:Believing Boolean groups are fixed causes unnecessary rework and limits design flexibility.
Quick: Does using many Boolean operations always improve design performance? Commit to yes or no.
Common Belief:More Boolean operations make designs more efficient and faster.
Tap to reveal reality
Reality:Excessive Boolean groups increase file complexity and can slow down Figma.
Why it matters:Ignoring performance impact leads to slow files and frustrating editing experiences.
Expert Zone
1
Boolean operations preserve original shapes inside groups, enabling non-destructive editing and easy reversions.
2
The stacking order of shapes affects subtract and intersect results, so order matters in complex designs.
3
Flattening Boolean groups converts them to simple vector paths, improving performance but losing editability.
When NOT to use
Avoid Boolean operations when you need very simple shapes or when performance is critical in large files. Instead, use single vector shapes or components. For pixel-perfect UI elements, consider using masks or image assets.
Production Patterns
Designers use Boolean operations to create icons, logos, and complex UI elements quickly. They combine Boolean groups with components and variants for reusable, scalable design systems. Flattening is done before handoff to developers to ensure clean SVG exports.
Connections
Set Theory
Boolean operations in design mirror set operations like union, intersection, and difference.
Understanding set theory clarifies how shapes combine mathematically, improving precision in design.
Vector Graphics Editing
Boolean operations are a core part of vector editing tools like Adobe Illustrator and Inkscape.
Knowing Boolean operations in Figma helps transfer skills to other vector design software.
Database Query Operations
Boolean logic in databases uses similar operations (AND, OR, NOT) to filter data sets.
Recognizing this connection helps understand filtering and combining data in BI tools.
Common Pitfalls
#1Using subtract with shapes in the wrong order causes unexpected cutouts.
Wrong approach:Select shape A then shape B, click Subtract expecting B to be cut out from A.
Correct approach:Select shape B on top of A, then click Subtract to cut B's area from A.
Root cause:Misunderstanding that subtract removes the top shape's area from the bottom shape.
#2Flattening Boolean groups too early removes ability to edit parts.
Wrong approach:Immediately flatten Boolean groups after creation to simplify shapes.
Correct approach:Keep Boolean groups editable during design, flatten only when finalizing.
Root cause:Not knowing Boolean groups preserve original shapes for flexible editing.
#3Applying many nested Boolean operations slows down Figma performance.
Wrong approach:Create complex designs with many nested Boolean groups without optimization.
Correct approach:Use components and flatten groups strategically to maintain performance.
Root cause:Ignoring the impact of vector complexity on software responsiveness.
Key Takeaways
Boolean operations let you combine and modify shapes quickly by merging, cutting, or overlapping them.
They work by mathematically combining vector paths, keeping original shapes editable inside groups.
Understanding the order of shapes is crucial for subtract and intersect to work as expected.
Excessive Boolean groups can slow down design tools, so manage complexity with flattening and components.
Boolean operations connect deeply to set theory and vector graphics, linking design to math and data concepts.