{"id":712,"date":"2024-03-03T18:04:07","date_gmt":"2024-03-03T18:04:07","guid":{"rendered":"https:\/\/amyoukey.com\/blog\/?p=712"},"modified":"2024-03-03T18:04:09","modified_gmt":"2024-03-03T18:04:09","slug":"15-minute-tutorial-building-a-modal-with-boolean-properties-using-a-figma-design-system","status":"publish","type":"post","link":"https:\/\/amyoukey.com\/blog\/15-minute-tutorial-building-a-modal-with-boolean-properties-using-a-figma-design-system\/","title":{"rendered":"15 Minute Tutorial \u2013 Building a Modal with Boolean Properties Using a Figma Design System"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">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&#8217;ll gain hands-on experience in leveraging Figma&#8217;s powerful features to streamline your design workflow, while expanding your knowledge of design systems. For this series, I&#8217;ll be using the Figma design system that was built at my current job, but you can use any number of <a href=\"https:\/\/www.figma.com\/community\/search?resource_type=mixed&amp;sort_by=relevancy&amp;query=design+system&amp;editor_type=all&amp;price=all&amp;creators=all\" target=\"_blank\" rel=\"noreferrer noopener\">Figma design systems<\/a> to build your components.<\/h5>\n\n\n\n<h5 class=\"wp-block-heading\">These tutorials assume you have basic knowledge of Figma.<\/h5>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this tutorial, I&#8217;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.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">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&#8230; .<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1024\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-1-3.png\" alt=\"\" class=\"wp-image-713\" srcset=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-1-3.png 1440w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-1-3-300x213.png 300w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-1-3-1024x728.png 1024w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-1-3-768x546.png 768w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><\/figure>\n<\/div>\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1024\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-2-2.png\" alt=\"\" class=\"wp-image-714\" srcset=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-2-2.png 1440w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-2-2-300x213.png 300w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-2-2-1024x728.png 1024w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-2-2-768x546.png 768w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><\/figure>\n<\/div>\n\n\n<p>&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you created a property, it shows in the Layer section as a purple pill.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1024\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-3-2.png\" alt=\"\" class=\"wp-image-715\" srcset=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-3-2.png 1440w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-3-2-300x213.png 300w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-3-2-1024x728.png 1024w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-3-2-768x546.png 768w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><\/figure>\n<\/div>\n\n\n<p>&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you&#8217;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&#8217;ve applied boolean properties to the supportive text, the two-column block of text that&#8217;s called &#8220;left &amp; right text&#8221;, the file upload area, and the form.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1024\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-4-2.png\" alt=\"\" class=\"wp-image-716\" srcset=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-4-2.png 1440w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-4-2-300x213.png 300w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-4-2-1024x728.png 1024w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-4-2-768x546.png 768w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><\/figure>\n<\/div>\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1024\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-5-1.png\" alt=\"\" class=\"wp-image-717\" srcset=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-5-1.png 1440w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-5-1-300x213.png 300w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-5-1-1024x728.png 1024w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Step-5-1-768x546.png 768w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><\/figure>\n<\/div>\n\n\n<p>&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What follows are examples of the different properties turned on or off to create different modal types in our design system.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example 1<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1024\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-3-1.png\" alt=\"\" class=\"wp-image-723\" srcset=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-3-1.png 1440w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-3-1-300x213.png 300w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-3-1-1024x728.png 1024w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-3-1-768x546.png 768w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><\/figure>\n<\/div>\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example 2<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1024\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-1.png\" alt=\"\" class=\"wp-image-720\" srcset=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-1.png 1440w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-1-300x213.png 300w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-1-1024x728.png 1024w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-1-768x546.png 768w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Example 3<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1024\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-2-1.png\" alt=\"\" class=\"wp-image-725\" srcset=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-2-1.png 1440w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-2-1-300x213.png 300w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-2-1-1024x728.png 1024w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/example-2-1-768x546.png 768w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Done!<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1024\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Finished.png\" alt=\"\" class=\"wp-image-722\" srcset=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Finished.png 1440w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Finished-300x213.png 300w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Finished-1024x728.png 1024w, https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2024\/03\/Finished-768x546.png 768w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Happy creating, and stay tuned &#8211; more tutorials are coming soon!<\/p>\n\n\n\n<p>&nbsp;<\/p>\n<p>\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722\u2722<\/p>\n<p>Comment below to share your thoughts. \ud83d\ude42<\/p>\n<p><a href=\"https:\/\/amyoukey.com\/blog\/\">Learn more about design systems<\/a><\/p>\n<p>I&#8217;m a designer with 20 years of experience in web, eLearning and visual design. Follow me:<\/p>\n\n<a href=\"https:\/\/www.amyoukey.com\" style=\"text-decoration: none;\"><img loading=\"lazy\" decoding=\"async\" width=\"40\" height=\"40\" style=\"margin: 4px;\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2023\/09\/icon-AY-6.png\" alt=\"Anne Youkey's portfolio\" \/><\/a>\n<a href=\"https:\/\/www.linkedin.com\/in\/anne-youkey-ux-designer\/\" target=\"blank\" style=\"text-decoration: none;\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"40\" height=\"40\" style=\"margin: 4px;\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2023\/09\/icon-linkedin-2.png\" alt=\"Anne Youkey's LinkedIn\" \/><\/a>\n<a href=\"https:\/\/www.figma.com\/@anneyoukey\" target=\"blank\" style=\"text-decoration: none;\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"40\" height=\"40\" style=\"margin: 4px;\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2023\/09\/icon-figma-1.png\" alt=\"Anne Youkey's Figma\" \/><\/a>\n<a href=\"https:\/\/twitter.com\/AnneYoukey\" target=\"blank\" style=\"text-decoration: none;\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"40\" height=\"40\" style=\"margin: 4px;\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2023\/09\/icon-twitter-1.png\" alt=\"Anne Youkey's Twitter\" \/><\/a>\n<a href=\"https:\/\/dribbble.com\/anne-youkey\" target=\"blank\" style=\"text-decoration: none;\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"40\" height=\"40\" style=\"margin: 4px;\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2023\/09\/icon-dribbble-1.png\" alt=\"Anne Youkey's Dribbble\" \/><\/a>\n<a href=\"https:\/\/www.behance.net\/anne-youkey\" target=\"blank\" style=\"text-decoration: none;\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"40\" height=\"40\" style=\"margin: 4px;\" src=\"https:\/\/amyoukey.com\/blog\/wp-content\/uploads\/2023\/09\/icon-behance-1.png\" alt=\"Anne Youkey's Behance\" \/><\/a>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;ll gain hands-on experience in leveraging Figma&#8217;s powerful features to streamline your design workflow, while expanding your knowledge [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":726,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,28],"tags":[],"class_list":["post-712","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-design-system-fundamentals","category-figma"],"_links":{"self":[{"href":"https:\/\/amyoukey.com\/blog\/wp-json\/wp\/v2\/posts\/712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/amyoukey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/amyoukey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/amyoukey.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/amyoukey.com\/blog\/wp-json\/wp\/v2\/comments?post=712"}],"version-history":[{"count":1,"href":"https:\/\/amyoukey.com\/blog\/wp-json\/wp\/v2\/posts\/712\/revisions"}],"predecessor-version":[{"id":727,"href":"https:\/\/amyoukey.com\/blog\/wp-json\/wp\/v2\/posts\/712\/revisions\/727"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/amyoukey.com\/blog\/wp-json\/wp\/v2\/media\/726"}],"wp:attachment":[{"href":"https:\/\/amyoukey.com\/blog\/wp-json\/wp\/v2\/media?parent=712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/amyoukey.com\/blog\/wp-json\/wp\/v2\/categories?post=712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/amyoukey.com\/blog\/wp-json\/wp\/v2\/tags?post=712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}