Figma plugin
A plugin for Figma that converts Figma files to Lob-ready HTML
Last updated
A plugin for Figma that converts Figma files to Lob-ready HTML
Last updated
This plugin will enable designers to create dynamic, personalized creative within a familiar design tool environment, rather than having to code templates in HTML. Designers will no longer have to hand their designs to a developer to make them dynamic; instead, they can use this plugin to have their design instantly converted into Lob-ready HTML, including image and text variables.
In order to use this plugin, you will need to host your own creative images and font assets, so that the publicly-sourced URLs may be referenced within your HTML templates.
You can download the plugin, but reach out to your Account Manager or contact us for more information or to provide you with access to the tools.
This feature is currently in beta, and is subject to change without notice.
Once you have downloaded the plugin, you will want to create a new base file by creating a template. To do so follow these steps.
Create and open a blank design template.
Open the plugin at the top and select the desired mail format. (We currently offer templates for Letters: 8.5x11, Postcards 4x6, 6x9, 6x11 , and Self-Mailers 6x18, 12x9, 11x9)
Click "Create Template"
Now that you have your template set up, you should go ahead and design as you normally would! There are only two things to keep in mind when you are designing.
Mark dynamic text with double brackets. e.g. {{first_name}}
Name Images that should be dynamic with double brackets.
Once your design is ready, it's time to convert that mail piece into HTML. To do so we want to follow these steps.
Hide all guides. They are elements on each page called "_guides
"
Open the Plugin
Select the form factor you are using
Click Export
Once your design is exported, it's time to upload it into Lob. To do so, you will need to follow these steps.
Upload any image assets to a publicly hosted location
If you are using custom fonts (ie. fonts not available at https://fonts.google.com/)
You will be prompted that they will need to be hosted and pointed to via merge variable
You can either edit the document and include them inline
Or you can use the provided link merge variable to point to a hosted CSS file which contains your custom font-face stylings
If this process is unfamiliar to you, you may want to consider foregoing the use of custom fonts.
Change local image paths to remote image paths
Copy HTML, and paste into the Lob dashboard, within the HTML Template section
Preview Template
If you have any questions on the plugin, contact your CSM or support@lob.com.