Combine a text field with a shape in Sketch – Auto re-size shape

Is it possible to combine a text field with a shape in Sketch whereby the shape will auto expand to accommodate the text length?

enter image description here

Answer

Sketch doesn’t have this functionality built-in by default, but there are two very similar plug-ins that offer it:

I’ve been using Dynamic button for quite a while, but recently switched to Compo, as it offers greater control in setting margins (e.g. it’s possible to keep an element fixed to a certain side of a component).

Attribution
Source : Link , Question Author : Tom Klein , Answer Author : Tin Man

Leave a Comment