Skip to main content
matko13
September 28, 2022
Question

Boolean property message "not used within component"

  • September 28, 2022
  • 11 replies
  • 29298 views

Hi there, I have a problem with creating and applying a boolean property.

I have a button that is created with nested components. I create a boolean property on the top level of a component to show an icon-only button variant. Still, when I want to apply it to the variants, it’s not visible there so I get an error that says the property is not used within a component. Does anybody have a similar problem? Screenshots attached.


image
image

This topic has been closed for replies.

11 replies

tank666
September 28, 2022
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
matko13
matko13Author
September 28, 2022

I found a different solution - in my case, instead of boolean property, It can be done by applying a true/false variant.

Matt_W
New Member
December 20, 2022

I have the same question/problem. The issue is that there is no intuitive way of applying the boolean property to a variant.
If there’s a help article for how to use this please can you add the link to it?

tank666
December 20, 2022
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
November 28, 2023

You have solved my problem with this practical short video ! Thanks 💛

Pavel_Pavlyuchik
February 20, 2024

Just select component instance inside your component and press at this Zalupka
Screenshot_4

July 1, 2024

Just create variant with values TRUE and FALSE, that fix problem!

July 15, 2024

Hey I had the same problem while makink variants and component properties.

First I used this “Boolean Property” But It didn"t work I dont know why.

then I used “Variant property” With true/false an it did work

can some one please tell me why boolean property was not working?
it just hide the layer/variant

Tony_Eneh
July 17, 2024

thank you. This short video clarified it for me

Andrew_Rodin
December 24, 2024

Who developed this feature isn’t designer, the Figma was the best instrument, but just only was… All mates say, that it’s become bullshit