Dynamic button in Figma

In Figma you can create a button that's both dynamic (width adapts to content) and custom (width can be set manually). This way you'll be able to have a single button component that can be used in multiple scenarios.

Learn how to do this here:

https://www.youtube.com/watch?v=VQ7JZHrkOk4

...or if you want to check out the file, you'll find it here:

https://www.figma.com/file/CcPVv0MUv8mRfAdIpTokFD/Figma-tips?node-id=0%3A1

PS. If you want to learn to build UI components, check out my free course at https://fullstackui.com.

More by Jussi Virtanen

View profile