Skip to main content
Question

Component problem

  • June 3, 2026
  • 1 reply
  • 24 views

Saumya Singh

I am building this component and I have made button component separately, when I try to switch sizes of button in this component, it doesnot change to any size and remain the size I have kept in this component, I have set the entire component to hug height and button component are of 3 sizes with fixed heights, but i am unable to change button size in this component through the nested property, 

1 reply

adamsmasher
Figmate
  • Figmate
  • June 4, 2026

Hey, ​@Saumya Singh! Thanks for your post.

 

That sounds pretty confusing. Can you check the screenshots I’ve included and see if this closely replicates the sizing and other options of your components? I tried to replicate what you are seeing but the button and frame grew as expected. Well, they did once I remembered to set the parent frame to hug height and width… oops. Here are the screenshots of my test:

Small button selected to show properties.
Medium button selected to show properties.
Frame using the medium button.
Frame using the large button.

 

Hopefully this provides enough info about various layer and element properties so you can tell whether this is an accurate enough replication. I think my buttons all use hug for the height and width so the text size determines the width and height.