Dynamic Button Sketch Plugin

A quick how-to for people new to Sketch

Shawn Hickman
May 3, 2014 · 2 min read

Dynamic Button is one of my most favorite Sketch plugins. Here is how to use it.

T opens the text tool

Open Sketch and select the Text tool (T) and write something on your canvas.


Select the element you wrote and press cmd+J. This turns your text into a flex button group.


Image for post
Image for post

Open the flex button folder and double click the layer that says 0:0:0:0. This works like padding in CSS, top:right:bottom:left. You can put whatever numbers you want, but for the demo lets use 20:30:20:30. Press return when done.


Now with the text layer selected, press cmd+J. Your button will now get the proper padding based off the numbers you input on the layer. Again, make sure the text layer is selected, not the group.


You can then choose the BG layer and make it look however you like.

The benefit of this tool is when you have to use multiple buttons, with varying text, in a single project. Now you can easily copy a button, change the text, then press cmd+J and your new button gets consistent padding.

Download Dynamic Button

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store