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

What is Framer? Join the Community
Return to index
Thomas Offinga
Posted May 31 - Read on Facebook

Because I will be repeating similar code across multiple prototypes (for example a menu) I'd like to abstract it into a module. Is it possible to include assets (images) in there?


Ben Rodenhäuser

There is an npm module for this kind of stuff: As far as I know, Framer works well with npm, so perhaps you could try to make this work with Framer?

Pascal Verstegen

He's basically saying 'haha you want to do real code in framer? Here's some real code!'

Jordan Robert Dobson

You can base64 encode them or include them along with your module.

Kevyn Arnott

Just throwing out other options. You can host the images on somewhere and use links to incorporate them as long as you're cool with always needing internet. Also, I'm not sure what the images are, but if they're shapes you can embed the SVGs into the code.

Read the entire post on Facebook