Skip to main content
Question

Remove first property from a component

  • May 31, 2024
  • 1 reply
  • 119 views

Eva_Willebrands

I have a “Viewport” property on a lot of components that has become redundant. I have built all typography with tokens and now the “Viewport” can be changed using modes. Very convenient. But now I want to remove this “Viewport” property from my components. But it seems like that cannot be done when this is the first and only Variable property. Any thoughts?

1 reply

  • Figmate
  • 1814 replies
  • June 10, 2024

Hi @Eva_Willebrands, Thanks for reaching out about this.
Could you please tell us what kind of property is the “Viewport” property of that component?

From my end, I tested and found that I could remove the Boolean, Text, and Instance Swap properties. However, it appears it’s unable to remove the “Variant” property if the component only has one variant.

According to the article below, removing the variant property from your component set or main component, if it is the only one present, will result in the deletion of the entire set or component.

For the details, please take a look at this article: Create and manage component properties - Rename, reorder, or delete

Hopefully this helps to clarify the situation. If it’s not the case, I recommend contacting our support team for assistance here: https://help.figma.com/hc/en-us/requests/new?
When submitting, could you please provide the following details to help our team investigate further:

  • Use the email address associated with your Figma account.
  • Add support-share@figma.com as an Editor to the affected file and related library file (don’t worry, this won’t affect your billing), and share the file links.
  • Share a screen recording illustrating this issue

If anyone from our community has additional insight or suggestions for this, please share here.
Thanks again for reaching out!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings