Lesson 11. Boolean Operations

Module 2. Figma basics.
Free UX / UI design course for a newcomer

To start learning, take tests and track progress, you need to enroll in the course. It's free.

In the fifth part of the fundamentals of Figma, we will learn about boolean operations and how to use them in practice. This is an essential tool for working with vector graphics, especially with icons and logos.

About Boolean Operations

Boolean operations are not a new concept. They come to us from a science called logic and can be mathematically represented using set theory. They are actively used in programming to build complex conditions. For example, the logical operators "and", "or", and "not" are well-known to us even from Excel tables.

Boolean operations are needed to construct complex vector shapes from simple primitives. For example, several circles can be combined into a cloud. In Figma, there are five operations:

  • Union
  • Subtraction
  • Intersection
  • Exclusion
  • Convert to curves

To work with these tools, you need two or more vector elements (shapes, primitives).

After applying one of the five boolean operation tools, we will not just get a ready-made shape. Figma combines vectors into a group and allows you to edit each element (move, change shape, undo the boolean operation by extracting the element from the group).

Union Selection

This operation should be applied when you want to create a single solid shape from several. As a result, the same fill, stroke, or other effects rules will apply to all parts of this shape.

The parameters of the future unified shape will be taken from the top layer of the selected vectors.

Let's try to make a simple icon using the boolean operation “Union”. For this:

  1. Pre-draw two or more (in my case - three) vector shapes.
  2. Using the Shift key and the left mouse button – select the necessary objects. In the center of the top panel, we see the Boolean Groups menu with a side arrow, clicking on which, we will see a list of commands.
  3. Select the “Union Selection.” command.

Subtracting Shapes (Subtract Selection)

Relevant if you need to cut out a part, make a hole, or bend a shape. As a result, we will see the lowest layer of our vector objects, except for those parts that were overlapped by layers above.

Let's try to create a simple icon using the Boolean operation "Subtract." To do this:

  1. Pre-draw vector shapes. Remember that we subtract the top layer from the bottom one.
  2. Using the Shift key and the left mouse button – select what you need. At the top right, we see the Boolean Groups menu with a side arrow, clicking which we will see a list of commands.
  3. Select the “Subtract Selection.” command.

Intersection of Shapes (Intersect Selection)

This operation needs to be applied so that only the part where our vector shapes intersect becomes visible. Here, the fill, stroke, and other effects parameters will be taken from the top layer.

Let's try to create a simple icon using the boolean operation “Intersection”. To do this:

  1. Pre-draw vector shapes.
  2. We repeat the same actions as with the previous functions. To make the Boolean Groups panel appear, you need to hold Shift and select the shapes with the mouse.
  3. Select the command “Intersect Selection.”

Exclude Selection

Unlike intersection, Exclude works in the opposite way. The visible parts of the vector layers are those that do NOT intersect with each other.

Let's try to create a simple icon using the boolean operation “Exclude”. For this:

  1. Pre-draw two vector shapes.
  2. Hold Shift and LMB to select both at the same time.
  3. In the panel, choose the command “Exclude Selection”.

Important point: the exclusion works only with two vector layers. If we add a third layer at the intersection of the two layers, it will invert the action. Example:

Flatten Selection

Usually, I use this operation as a last resort for baking the result before exporting to SVG. This allows optimizing the number of points. After all, the less space the icon takes, the faster it will load when viewing the page on which it will be used.

As a result, it combines all elements into one shape with subsequent conversion of objects into curves. That is, we can no longer change the contents of the group in the same way as in “Union Selection”. The elements of our group have been converted into curves, and we can only edit their shape using curves. Example:

Homework

From now on, this course is designed for independent study and completing homework. I understand that some tasks may be challenging for you.

For additional support, use the chat on Telegram. Here you can ask questions related to the lessons or view examples of correct completions from other students.

The chat is not available for citizens of Russia.

Task 1. Did you know that some of the most popular icons that designers use on most websites are social networks and various services? Let's try to draw the icons shown below in the picture. Use the boolean operations that you learned in this lesson for drawing. Try to independently understand which operation is relevant for each of them. For easier and more accurate representation, transfer the picture to Figma. Remember that in the end, each icon should be grouped.

First homework for the 11th lesson of the UX/UI course

Task 2 (increased difficulty). Use boolean operations to replicate the following four icons as accurately as possible. Pay special attention to the colors and particles they consist of.

Second homework for the 11th lesson of the UX/UI course

For review, please send the link to the file in Figma. I hope you remember that finished icons need to have meaningful names.

Conclusions

Today you learned about boolean operations, which will help you when creating complex interface elements, icons, simple illustrations, and even parts of infographics. While we previously grouped primitives, we are now familiar with more efficient and convenient ways to build vector graphics.

We still need to study working with curves at the level of points and levers, but we will cover this in the next lessons.

Take quiz

To pass the lesson and check your knowledge, you need to correctly answer 80% of the questions from the quiz. To do so, you need to login and enroll to the course or signup, if you haven't done so yet.

Take quiz

Leave a comment

Place the handle into the purple zone

Comments

Anastasiia19 August 2025 13:45  
Good day.
Homework for lesson 11
https://www.figma.com/design/0SDPTdBSJ3vqYIx5laHMLG/Homework-11?node-id=0-1&t=cUyArslaPSU7v51p-1

Comment from frusia.pro:

Hello, Anastasiia!

I see very similar shapes and identical colors for the icons in the first task. You have mastered the Boolean operations excellently. The file has a neat structure in terms of layers and their names. Great job, well done! Move on to the next lesson!

Serhii14 December 2024 17:29  
Brief and to the point. Thank you!
skazhena cherepakhaUkraine flag підтримує ЗСУ 5 March 2024 16:46  
Hello! I really enjoyed this :)
https://www.figma.com/file/nvSYfkq63m2kn0QDaZHriK/%D0%9D%D0%B0%D0%B2%D1%87%D0%B0%D0%BD%D0%BD%D1%8F-%D1%83-Frusia.Pro?type=design&node-id=283%3A2&mode=design&t=k4KGZGnVmxi6A4nC-1

Comment from frusia.pro:

Hello, I left a few comments in the file itself. Will you take a look?

Dasha5 April 2023 21:08  
Good evening, the task is wonderful. https://www.figma.com/file/kSCP9cjGRVcpT0jsiKlPsO/6-8-lesson?node-id=66%3A34&t=mon99ScjDdAaOi63-1

Comment from frusia.pro:

Everything turned out great, there are no comments on the redrawing or boolean operations. The only point I would recommend paying attention to is the sizes. Everything would look a bit neater if all the icons were the same size.

VarvaraUkraine flag підтримує ЗСУ 22 January 2023 13:41  
I tried to get as close to the original as possible)
https://www.figma.com/file/Dy1fUf6L4DZSfVxQCFVSvm/UX%2FUI-Frusia-2?node-id=132%3A2&t=q87rmDx55RjPgt4Y-1

Comment from frusia.pro:

It has become significantly better. Move on to the next lesson!

VarvaraUkraine flag підтримує ЗСУ 6 January 2023 17:04  
Good evening! The task was unreal, incredibly interesting, and a bit challenging)
https://www.figma.com/file/Dy1fUf6L4DZSfVxQCFVSvm/UX%2FUI-Frusia-2?node-id=132%3A2&t=88TpXhQExEGKuOt0-1

Comment from frusia.pro:

I'm very glad that you found it interesting!

Task 1. All the icons were well reproduced, but please pay attention to the Hangouts and Periscope icons once again. Specifically, the rounding, as there are discrepancies with the original.

Task 2. Everything is great here.

Yuliya LepenkoUkraine flag підтримує ЗСУ 24 September 2022 21:59  
Good evening:)

https://www.figma.com/file/I08T3W8u2GI3NE21Xv5DTd/HW7?node-id=33%3A2

Comment from frusia.pro:

Good evening!

Task 1. Redraw social media icons. All icons have been redrawn very accurately, both in terms of colors and the shape of the figures. I also see that you have understood boolean operations and applied them correctly. Everything is correct.

Task 2. Redraw detailed icons. Everything is also great here, I have no comments. Boolean operations have also been applied correctly.

Well done, you have understood the material perfectly and demonstrated in practice that you have mastered it. Move on to the next lesson

Viktoriia HryshchenkoUkraine flag підтримує ЗСУ 26 August 2022 16:03  
Good day!
https://www.figma.com/file/OEs3FEXx4okWGuI9Rn1O00/%D0%A3%D1%80%D0%BE%D0%BA-8?node-id=0%3A1

Comment from frusia.pro:

Good evening! Sorry for the delay in checking (I was on vacation for a week).

Task 1. Redraw social media icons. You have quite accurately redrawn all the icons, and you also correctly applied boolean operations, well done!

Task 2. Redraw detailed icons. Everything is very good here as well, I would say it's perfect. The only remark is that you forgot to merge the elements that form the filament in the light bulb. Everything else is great.

You worked very well, move on to studying the next lesson

BohdanaUkraine flag підтримує ЗСУ 28 July 2022 12:00  
Hello!
This time I am thrilled with the homework, because sometimes you really have to rack your brain over the concept of the logo. But when you find the solution - it's pure bliss))
Thank you very much for the feedback and comments.
Have a peaceful day!
https://www.figma.com/file/R2GcgT9WcgRm1jolF5lBA9/dz?node-id=251%3A24

Comment from frusia.pro:

Hello! I'm very glad that you enjoyed completing the task

Task 1. Redraw social media icons. The icons are redrawn very accurately, I see that you are well oriented in different types of boolean operations, as you apply them correctly and appropriately. You placed all the icons inside frames, everything is great. The only small note: remove the white fill in the frames where the icons are placed. The background should always be transparent.

Task 2. Redraw detailed icons. Here the same note applies, everything else is perfect, well done!

Perfectly completed task, you did a great job. Remove the white background from the frames with the icons and move on to the next lesson

Mariia SUkraine flag підтримує ЗСУ 12 July 2022 22:09  
Good day, I am sending lesson 8:
https://www.figma.com/file/Yx2EJ9dtMNP2WCzioaKQo5/8-%D1%83%D1%80%D0%BE%D0%BA?node-id=0%3A1

I also sent corrections for lesson 7, but for some reason I can't see my comment now.

Comment from frusia.pro:

Good evening!

Task 1. Redraw the social media icons. Everything is done correctly, I see the use of boolean operations. The icons themselves are drawn very similarly.

Task 2. Redraw the detailed icons. Everything is also great here, I have no comments.

You practiced well, it's clear that you have mastered working with boolean operations. Move on to studying lesson 9

AnnaUkraine flag підтримує ЗСУ 9 July 2022 21:54  
https://www.figma.com/file/W8K43RLVgYKy54mrLQ2SHV/8-%D1%83%D1%80%D0%BE%D0%BA?node-id=0%3A1

I have corrected your comments:
Twitch. The white background with a tail needs to be combined into one element using Union Selection;
Hangout. The white paws and green background need to be combined using Union Selection;
Plurk. All white elements need to be cut out from the red background, not just covered with Substract Selection.

Comment from frusia.pro:

Hello! Now everything is correct, well done

Yana UsachovaUkraine flag підтримує ЗСУ 8 July 2022 17:29  
Good evening, this task is something else, I tried, not exactly one to one, but almost got it right.
Thank you once again for the opportunity to learn from you.
https://www.figma.com/file/owsei3g7EUwTUMnZxp0A4Q/lesson-8?node-id=0%3A1

Comment from frusia.pro:

Good evening!

Task 1. Redraw the social media icons. The proportions are a bit different, but the main thing is that you correctly used all the basic boolean operations, well done! If you want to replicate the icons exactly, draw directly on top of the image. To prevent the reference from interfering, you can lock the corresponding layer using the lock icon.

Task 2. Redraw the detailed icons. Here everything is much better, it turned out very similar. I also see the correct application of boolean operations. The leftmost icon is slightly compressed horizontally, just stretch it a bit.

You did a great job, I’m waiting for the revisions to the previous lesson. After that, you can move on to the 9th

AnnaUkraine flag підтримує ЗСУ 6 July 2022 17:59  
https://www.figma.com/file/W8K43RLVgYKy54mrLQ2SHV/8-%D1%83%D1%80%D0%BE%D0%BA?node-id=0%3A1

These coins are something else. They made me a bit nervous. I see a mistake where there shouldn't be any space between the columns of coins. I couldn't manage to make them fit tightly against each other.
Thank you for the feedback.

Comment from frusia.pro:

Good evening!

Task 1. Redraw the social media icons. Visually, everything looks very good. I see that in some places you used boolean operations. But I also see that there are just groups of primitives that were not combined. For example:

  • Twitch. The white background with the tail needs to be combined into one element using Union Selection;
  • Hangout. The white paws and the green background need to be combined using Union Selection;
  • Plurk. All white elements need to be cut out from the red background, not just overlapped using Subtract Selection.

Task 2. Redraw the detailed icons. You also did very well, great job! It's the first time I've seen gradients used instead of two separate primitives. The gap between the columns of coins doesn't matter and doesn't affect the overall picture, don't worry about it

You did a great job on this task, make the corrections in the first task (they are quite simple) and move on to the next lesson

Liubov Furseieva4 July 2022 18:54  
Kostiantyn, there is no special tool for your purposes, but it is enough to make a duplicate of pairs of shapes and sequentially apply the Boolean operations Intersect Selection and Exclude Selection to each pair.
Kostiantyn2 July 2022 15:29  
Could you please tell me, if I want the overlapping areas of several shapes to be split into separate shapes? For example, a circle intersects with a square, and I want the overlapping areas and those that do not overlap to become separate shapes. So that I could change their colors, for instance. Although I know how to do this, maybe there is a quick way for a large number of shapes that overlap each other and have different colors in the overlapping sector.
Iryna S.Ukraine flag підтримує ЗСУ 29 June 2022 21:18  
Good evening! I am sending the homework for lesson 8.
https://www.figma.com/file/nJRZebYtvYsz0Lyq1Q7ap2/Homework-8?node-id=1%3A6

Comment from frusia.pro:

Good evening!

Task 1. Redraw the social media icons. You did a great job, especially liked the smart use of boolean operations. For example, the Youtube icon, which was created using Intersect Selection.

Task 2. Redraw the detailed icons. There are minor discrepancies in the last icon at the puzzle joints, but these are just small details. Overall, everything looks very similar, well done!

We practiced well, move on to the next lesson

InnaUkraine flag підтримує ЗСУ 19 June 2022 19:36  
Good day, thank you for the lesson!
Here is the completed task https://www.figma.com/file/c3XSXKFGVDBEwCCFOF53FE/Lesson-8?node-id=2%3A107

Comment from frusia.pro:

Good evening!

Task 1. Redraw the social media icons. It turned out to be very similar, well done! It's interesting that you correctly labeled all the social networks, including Plurk, which not many people know about; I am pleasantly surprised

Task 2. Redraw the detailed icons. Also very high-quality work. Everything is good. I see that you figured out the new stroke settings, which came in handy when creating the Screen icon.

I want to praise you for the good work, keep moving on to the next lesson

Anna SmirnovaUkraine flag підтримує ЗСУ 16 June 2022 17:07  
Good day!
Very cool homework, thank you!
Could you please advise, in the second task, I grouped the final image, is that enough? I don't know how to combine the images so that they don't get distorted.

https://www.figma.com/file/Gena0CjtpVFEW5PfQb8wmM/UI%2FUX-hw-lesson-8?node-id=0%3A1

Comment from frusia.pro:

Good evening! Yes, it's enough to group the final image, and even better to put it in a frame. Ideally, all frames should be the same size. Where the icons are small, we leave some padding.

Task 1. A work of art, well done! I'm surprised at how accurately you recreated the YouTube icon using an ellipse and a boolean exclusion operation.

Task 2. Everything is good. Pay attention to the layer names, follow the same rules. I recommend capitalizing each word with a space in between.

Great job, move on to lesson 9

KaterynaUkraine flag підтримує ЗСУ 16 June 2022 17:06  
Good evening!)

https://www.figma.com/file/r1faw1qKIosOlIaxbw9np0/%D0%BE%D0%B1%D1%83%D1%87?node-id=343%3A2

Comment from frusia.pro:

Good evening!

Task 1. Everything is correct, the icons are similar in size and shape.

Task 2. Everything is also very good. I want to give one piece of advice. Do not convert layers with applied boolean operations into curves and do not merge all elements into one layer, because it will be much more difficult to edit in the future if needed.

Great job, move on to the next lesson

Liubov Furseieva27 April 2022 16:49  
Andrii Diachenko, thank you
Andrii D'iachenko26 April 2022 19:09  
Huge thanks for this lesson!!! I definitely wouldn't have figured this out without you! You are the best!!!
Iryna20 April 2022 15:00  
Good day! Please check it.
https://www.figma.com/file/XcYKdhCf1N91iU7QpvccXd/Untitled?node-id=11%3A2

Comment from frusia.pro:

Task 1. All icons are excellently executed and nicely grouped. I only have a comment about the wi-fi. It would be good to merge the ellipses into one shape using boolean union so that Figma correctly displays the icon's boundaries (bounding box).

Task 2. You handled it with jewel-like precision, well done! You even replicated the barely noticeable rounding at the bottom of the second shape from the left.

Nina22 December 2021 16:45  
Hello, here is the homework)
https://www.figma.com/file/oBRO7AcMCIq4r8PaA3N9C7/%D0%94%D0%B7-7?node-id=301%3A2

Comment from frusia.pro:

Both tasks are completed perfectly! You are making great progress!

Polina27 November 2021 16:28  
Liuba, thank you for the feedback on the homework!
I fixed the 8th icon, the components are now visible. And in the previous one, the history disappeared because I converted everything to vector. I'm attaching the link, I made the 8th icon in a separate frame. https://www.figma.com/file/XkFPMT8WJnGMDjMBnHqJbK/Boolean?node-id=0%3A1
Once again, thank you for the invaluable knowledge!

Comment from frusia.pro:

Great! Well done for being attentive to details!

Polina24 November 2021 19:55  
Good evening!
Thank you for a really cool lesson!
Link to the homework https://www.figma.com/file/XkFPMT8WJnGMDjMBnHqJbK/Boolean?node-id=0%3A1

Comment from frusia.pro:

Task 1. Everything is great, but I didn't see the "history" of the last (orange) icon at the bottom, how exactly you drew it.

Task 2. Very good!

Viktoriia13 November 2021 09:19  
Hello) Please check the assignments:
1) https://www.figma.com/file/IxK6EHg5Oq8g3uJGcisOSw/Іконки?node-id=0%3A1
2) https://www.figma.com/file/HzYjOaAgeP77IVkQ0zPoKB/Іконки-2?node-id=2%3A2

Comment from frusia.pro:

Assignment 1. Everything is correct, but there is a note about the last icon. You probably noticed that when hovering the cursor, it takes up a lot of space. Don't forget about the Flatten function, which is described in the lesson. It is what makes our icons suitable for layout.

Assignment 2. Excellent, well done!

Student.9 October 2021 12:51  
something interesting
Liubov Furseieva4 October 2021 11:25  

Designer, please

Dyzainer4 October 2021 11:15  
Great news, thank you!
Liubov Furseieva1 October 2021 13:59  

Designer, the next lessons will be released more regularly

Dyzainer30 September 2021 00:20  
You have returned, I finally waited for you)