The Boolean Complexity

James Baduor
Friends of Figma Lagos
4 min readAug 22, 2018

Creating custom shapes in Figma; a practical approach.

As variegated as it may sound, Boolean operations are actually very simple. They are applied in almost every aspect of our everyday living; designing, programming, arts, etc.

In Figma, Boolean operations help us combine any set of shape layers through one of four formulas: Union, Subtract, Intersect, and Exclude. Shapes made with Boolean are treated as a single shape layer and share fill and stroke properties and can be combined with other boolean groups through subsequent boolean operations.

Figma UIboolean options

Create a new figma file with 4 frames with 2 squares in each frame. Label the frames as follows;

  1. Union
  2. Subtract
  3. Intersect
  4. Exclude
figma ui

Union:

Union combines selected shapes into a boolean group. If the shapes overlap, the new shape’s outer path consists of the composite of its sublayers’ paths minus any segments that overlap. The stroke would then be applied to that outer path ignoring any path segments which overlap each other.

From the union frame, overlap the first shape with part of the second, select the two shapes then choose union operation from the boolean operations. We have a shape like this;

union operation applied in figma

Subtract:

Subtract is the opposite of Union. Subtract removes the area of a shape or set of shapes from a base shape. Only the bottom shape layer is solid, the rest are subtracted from it.

Repeat the same process on the frame labeled subtract, but this time; choose subtract, instead of union.

subtract operation applied in figma

Intersect:

Intersect creates a boolean group whose shape consists only of the overlapping parts of its sublayers.

On the intersect frame, perform the intersect operation.

intersect operation applied in figma

Exclude:

Exclude is the opposite of Intersect. Exclude shows only the areas of its sublayers that do not overlap.

intersect operation applied in figma

Yay! We are now masters of Boolean Operations using figma.

How do we apply this knowledge? Let’s try something out.

The Search Icon

We will create the search icon applying some of the Boolean operations we learnt here.

Recreate the following in your figma file;

  1. Two Circles / Ellipses with sizes 320px by 320px and 400px by 400px respectively,
  2. A rectangle with size 35px by 150px
shapes in figma

Lets apply the Subtract Boolean Operation,

  1. Overlap the big circle with the small circle, align horizontal and verbal centred (NB: Make sure the small circle layer is on top of the Big Circle layer)
  2. Select both shapes and apply the Subtract operation
subtract operation applied on circles
  1. Align the rectangle with the Circle Boolean group at the bottom
  2. Make sure some aspect of the rectangle overlaps the Circle
  3. Elect both shapes and apple Union Operation
rectangle union circle

Select the group and rotate angle to 40degrees

rotation at 45degrees

Align the Object to Centre of the Frame and Apply a colour of your choice.

final search icon

Well Done!

I advice you practice more complex shapes and icons to master this skill.

Credits: https://help.figma.com/drawing/boolean-operations

Learn more about Figma and Design using the following resources:

Also, to be part of the Figma Community;

Join Figma on SLACK: https://figma-africa.slack.com

TWITTER: https://twitter.com/figma_africa

INSTAGRAM: https://instagram.com/figmaafrica

MEETUP: https://www.meetup.com/figma-africa

--

--

James Baduor
Friends of Figma Lagos

Tech Entrepreneur / Community Leader / Design Educator / No-Code Enthusiast / Webflow Developer