This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Saurabh Kumar Suman
Posted Feb 10 - Read on Facebook

How can change font size of "Utils.labelLayer"?

3 Comments

Saurabh Kumar Suman

layer.style.fontSize = "2em" Got it!

Benjamin Den Boer

Hey Saurabh Kumar Suman — yes! You can also directly set the html via layer.html = "hello", and for fontSize you can also use the "font" shortcut (layer.style.font = "") to set fontSize, fontWeight, fontFamily and lineHeight with a single line. :-)

Saurabh Kumar Suman

Cool! Thanks!

Read the entire post on Facebook