Skip to content
tezvyn:
Menu

Boolean Operations: Non-Destructive Shape Math

Source: help.figma.comMediumHow cards are made

Boolean operations are non-destructive shape math, combining layers into complex forms while keeping the original pieces editable. Use them for icons and illustrations. The footgun: intersecting non-overlapping shapes makes them disappear until they touch.

Why it exists

To create complex shapes from simple ones without permanently flattening them. In UI design, you constantly iterate. Non-destructive operations mean you can adjust an icon's components—like the handle of a magnifying glass—without having to start over from scratch.

The mental model

Think of boolean operations as non-destructive shape algebra. You're performing actions like adding (Union) or subtracting (Subtract) shapes, but you can always go back and tweak the original 'numbers' (the component shapes) in your equation. The final result updates automatically.

How it works

When you select multiple layers and apply a boolean operation, Figma creates a 'boolean group'. This group looks like a single object, but it contains the original, fully editable layers. The final shape's geometry is calculated from the component layers' fills and strokes. The three main operations are Union, Subtract, and Intersect.

Union combines all selected layers into one shape, using the outer path of all objects. Subtract removes any overlapping areas from the bottom-most layer. Intersect creates a new shape consisting only of the area where all selected layers overlap.

When to use it

Use boolean operations constantly for icon and illustration work. Creating a crescent moon by subtracting one circle from another is a classic example. Making a 'plus' icon by uniting two rectangles is another. It's the right tool whenever you're building a complex vector from simple primitives and anticipate future tweaks.

When not to use it

Boolean operations cannot be applied to frames or sections. If you need to hand off a finalized asset and want to simplify the file, you might flatten a boolean group into a single vector path, but be aware this is a destructive, irreversible action that removes the editability.

One canonical example

To create a simple user icon, place a small circle (the head) overlapping the top of a larger, slightly rounded rectangle (the shoulders). Select both shapes and choose the Union operation. They merge into a single, clean silhouette. Because this is a non-destructive boolean group, you can still dive into the group and resize the 'head' circle or adjust the 'shoulders' rectangle independently, and the final shape will update in real-time.

Interview question

What is the primary advantage of boolean operations being "non-destructive" in design software?

  • a.They automatically apply the same fill and stroke properties to all combined shapes.
  • b.They permanently flatten multiple layers into a single, optimized vector path for easier export.
  • c.They enable the use of boolean logic on any selected elements, including frames and sections.
  • d.They allow designers to adjust the original component shapes even after they have been combined into a new form.Correct
Why?

The key benefit of non-destructive boolean operations is that they preserve the editability of the original component shapes, allowing for iterative adjustments without starting over. Option B describes a destructive action, which is the opposite of the primary advantage.

Just read this? Test yourself on what you have been reading.

Read the original → help.figma.com

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Open roles that interview on figma — each one lists the topics its interview covers.

See open roles