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

What is Framer? Join the Community
Return to index
Pete Schaffner
Posted Jun 30 - Read on Facebook

Just wrote a little module for creating "labels". Label layers are by default the intrinsic height/width of the text they contain. You can also constrain their width and specify the number of lines that should be displayed before truncating (via an ellipsis).

I will be improving the API and adding an alternate "fade-out" style soon. Let me know if you have any suggestions!

Code: https://github.com/peteschaffner/framer-label
http://share.framerjs.com/v9l2rpmlnsju/

2 Comments

Johannes Eckert

Super! Check out framer text layer on github, maybe you to should merge via PR

Pete Schaffner

Oh damn, that thing does it all! Thanks for pointing me to that Johannes Eckert. I will check out how our modules differ and see if it makes sense to merge them.

Read the entire post on Facebook