SaltfishTry for free

How to Add a Boolean Property to a Component in Figma

·2 min read
In this article

Learn how to add a Boolean property to a component in Figma, allowing you to easily toggle visibility or states within your designs.

Explore more Figma tutorials with interactive Saltfish walkthroughs.

Here's how to add a boolean property to a component in Figma

  1. Select Your Component Object

    First, select the component or object to which you want to add a Boolean property. You can do this by clicking on it directly on the canvas or by selecting its layer in the Layers panel on the left.

  2. Open the Add Property Menu

    With your object selected, navigate to the right-hand Properties panel. Locate the 'Add property' section and click the plus (+) icon to open the property creation menu.

  3. Choose Boolean Property Type

    From the 'Create new property' dropdown menu that appears, select 'Boolean'. This specifies that the new property will have a true/false or on/off state.

  4. Confirm Property Creation

    A 'Create component property' modal will appear. You can optionally name your property and set its default value. Click the 'Create property' button to finalize and add the Boolean property.

  5. Verify the New Property

    After clicking 'Create property', the modal will close. You can now see your newly added Boolean property listed under the 'Properties' section in the right-hand panel, ready for use.

Your turn to show how it works.

Build a walkthrough of your product with Saltfish, then share it with your customers.

Create a guide with Saltfish

Frequently Asked Questions

The Layers panel is typically found on the left sidebar of your Figma interface. It lists all the elements and components present on your current page or frame.