Figma plugin (Beta)
A Plugin for Figma that converts Figma files to Lob ready HTML
Table of Contents
Plugin overview
This plugin will enable Designers to create dynamic, personalized creative within a familiar no-code design tool, rather than having to work 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!
For more information on the plugin, reach out to your CSM or Account Executive. You can download the plugin here, but your CSM or Account Executive can help provide you access to the tools.
Steps to using the plugin
Step 1 - Create a template
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 form factor.
- Click "Create Template"
Step 2 - Design Away
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.
Step 3 - Convert to HTML
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
Step 4 - Upload into Lob
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
<style> @font-face { font-family: 'Custom Font'; font-style: normal; font-weight: 400; src: url("https://etc"); }
- Or you can use the provided link merge variable to point to a hosted CSS file which contains your custom font-face stylings
<link href="{{Custom_Font_stylesheet}}" rel="stylesheet">
- 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