Resizing button component with custom corner

Hello Figma Community! I was working a lot with simple buttons and libraries but today I’m working on a gaming project and our design is a little more complicated. We want to create a clean design library, but our buttons have tricky corners, and I was thinking, is it even possible to make a resizable element like this?

Create a composite background from different elements and set the necessary constraints for them.

Not exactly the same, but I think this example will be useful to you: Complex Button variant and properties - #2 by tank666.

Looks good! I will check. Thanks for the fast replay @tank666 :slight_smile: