Skip to main content
Mar 26, 2024 7:08 PM UTC
Question

How to make a resizer component?

Hello, I need help. I’d like to make the HEIGHT of the ‘Chart Placeholder’ frame editable. How can I do this please?

This topic has been closed for replies.

3 replies

Mar 26, 2024 7:25 PM UTC

Can someone walk me through a frame resizer component please?

Haroll
Figma Ambassador
Figma Ambassador
Mar 27, 2024 7:05 AM UTC

Hi @Tatiana_Cantarovich

You cannot directly change the size of an element in a component (you may change the size mode from fixed to hug|fill but that’s it)

What you can do is change Chart Placeholder to an instance swap element, so you will be able to swap it with any custom component that will have the needed height later on.

Figma’s Forum Ambassador
Mar 27, 2024 4:06 PM UTC

Thank you for your reply, i figured it out - i needed an empty auto layout frame because i did not want to use instance swap in this case.