15 Minute Tutorial – Building a Modal with Boolean Properties Using a Figma Design System

Welcome to my quick and informative 15-minute tutorial series. This series of articles will teach you the process of building effective and visually appealing styles and components in Figma using a prebuilt design system. In no time, you’ll gain hands-on experience in leveraging Figma’s powerful features to streamline your design workflow, while expanding your knowledge of design systems. For this series, I’ll be using the Figma design system that was built at my current job, but you can use any number of Figma design systems to build your components.
These tutorials assume you have basic knowledge of Figma.

 

In this tutorial, I’ll show you an easier way to create components that might have different types of components or patterns in them by creating boolean properties in Figma. Instead of creating multiple components or variants of components, you can create one component with boolean properties and choose between those properties in the design panel. A boolean property lets you hide or show what you want in your component.

Step 1

This component is a modal that could house several types of content blocks, including text, a two-column block of text, an area a user could drag a file to, or a form. Once you have your modal component built, add some boolean properties. Start by selecting an item in your component that could be shown or hidden, then select the Apply boolean property icon in the Layer section of the Design panel and choose Create property… .

 

Step 2

In the Create component property dialog box, the Name field will show what the item is named in the Layers panel. Rename if needed, choose True in the Value field, and select the Create property button.

 

Once you created a property, it shows in the Layer section as a purple pill.

 

When you’ve created properties for all of the items you want to hide or show, they will show up in the Properties section when you select the component. Here, I’ve applied boolean properties to the supportive text, the two-column block of text that’s called “left & right text”, the file upload area, and the form.

 

Step 3

Drag an instance of the component to your canvas. When an instance is selected it will show the boolean properties you created as switches. Now you can select the switches to easily turn on and off items in your component.

 

What follows are examples of the different properties turned on or off to create different modal types in our design system.

Example 1

 

Example 2

Example 3

Done!

Happy creating, and stay tuned – more tutorials are coming soon!

 

✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢

Comment below to share your thoughts. 🙂

Learn more about design systems

I’m a designer with 20 years of experience in web, eLearning and visual design. Follow me:

Anne Youkey's portfolio Anne Youkey's LinkedIn Anne Youkey's Figma Anne Youkey's Twitter Anne Youkey's Dribbble Anne Youkey's Behance