How to export Figma to HTML for AdForm using Bannerify
Follow along with this step by step Figma tutorial video.
Steps
- Open Figma, go to Community, search for Bannerify, and install the Bannerify HTML Exporter plugin.
- Optionally duplicate the tutorial file from the URL in the plugin's additional notes, or use your own banner design.
- Right-click in the Figma file, open Plugins, and launch Bannerify HTML Exporter.
- Click Export banners to HTML, open the export format/platform dropdown, and select AdForm.
- Click Export banners, then save the generated zip file.
- Unzip the file and open index.html in a browser to preview the exported banners and animations.
- Inspect an exported banner folder to see the AdForm files Bannerify creates automatically.

Published
Used in this video
Bannerify
ăăăŒ
Animate banners in seconds.
Animate and export production-ready HTML, GIF, and MP4 banners from Figma in seconds.
77.6k+ installs
Video Transcript
Today, Iâm going to be showing you how to export animated banners from Figma to HTML for the AdForm platform.
The first thing we need to do is goto the Figma icon in the top left, because we want to install a Figma plugin called Bannerify; if we click on this little Figma icon, and if you go to âCommunityâ and then click on the search field and type in the term âbannerifyâ; then click on the âpluginsâ tab and youâll see a result come up that says âBannerify HTML Exporterâ and on the right-hand side youâll see a button that says âinstallâ or it will say âinstalledâ if youâve already got it installed like mine does; but if you just see a button that says âinstallâ over here you can click on that, and then itâll look like mine with the little checkmark on it.
Once thatâs ready to go, if you click into the plugin name just to jump into the description, we can see down here in the âadditional notesâ section once we scroll down, that weâve got this little URL here; and if you copy paste that URL into your web browser youâll be able to duplicate the file that weâre going to be using for this Figma tutorial; and thatâs just going to make it a bit easier to follow along if you donât already have a set of banners designed, but feel free to use your own if you do.
Now that weâve installed the Figma plugin we can go back to our project and weâre just going to run the plugin by right-clicking anywhere going down to âPluginsâ and then clicking on âBannerify HTML Exporterâ, and this is just going to open up the Figma plugin that we just installed. You can see that itâs loaded in all of our banners from the Figma file and youâll notice that theyâve also got these little animations applied to them already when I click this little play button; this Figma tutorial is not going to cover how to add these animations or how to control the timelines, if youâre interested in that we do have another Figma tutorial on our YouTube channel that you can check out, it goes for about 40 minutes and it covers all of those things in depth; but for today weâre just going to be looking at how to export banners that youâve already got designed and already got animated; weâre just going to see how to export those from Figma to HTML for AdForm.
To start off with, we just need to click on the âExport banners to HTMLâ button in the top right; Iâm just going to click on that now and you can see weâve got a few different export options, but for today Iâm just going to be focused on the âcode output settingsâ; underneath where it says âexport format/platformâ you can click on that drop-down, and thatâs going to open up a list of options for us. In the second section down here thatâs called âadvertising platformsâ, we can see thereâs a whole bunch of options, but the one that we want to select is closer to the bottom and itâs the âAdFormâ option; if we click on âAdFormâ thatâs now selected the platform for us, which means that weâre ready to go with exporting. To export these banners from Figma to HTML for AdForm, all you need to do is click on the âExport bannersâ button in the bottom right down here; Iâm just going to do that now, and this is going to generate all of the code that we need, and all of the images that we need in to a zip file with all of our banners.
Iâm just going to use the default naming convention in our save dialog here and click on âsaveâ, then Iâm going to go to my desktop and double click on the zip file; once that unzips, we can click on the folder and youâll see here that itâs exported all of our banners from Figma to HTML, and to get a sense of what that looks like all in one snapshot, we can double-click on the index.html file that comes with the folder in the root here; Iâm just going to double click on that to open up in the browser. Iâve just loaded that up in the browser and you can see here that all of the banners have been exported as would expect theyâve all got the animations on them, I can replay those animations with this little play button if I want to do that, but everythingâs looking really good and as I would expect.
To get an idea of what was actually exported by Bannerify from Figma to HTML for AdForm, we can open up one of these banners in our code editor; Iâm going to do that now, Iâm just going to drag the medium rectangle into Visual Studio Code (you can use whatever code editor you like; in this case, Iâm just going to use Visual Studio) and Iâm also going to open up the âMRECâ medium rectangle banner in the browser so we can have a look at which one weâre looking at; you can see here these are all the files that can exported from Bannerify when we export from Figma to HTML, and in this case weâre doing it for AdForm.
You can see right up the top its including the script file from the AdForm domain; weâve got a script file from âadform.netâ and itâs the âAdFormDHTML.jsâ file, and thatâs a required file that any banners being uploaded for AdForm needs, that gets included automatically; weâve also got our metadata up here, that gets automatically included; these are all of the images that we need to render out the HTML for our banner; and weâve also got a little JavaScript file down here and we can open these up.
Weâve got the JavaScript file, you can see down here that thereâs some specific code for AdForm; weâve got this little âclicktagâ variable, itâs the âhtmlGetVarâ function; thatâs coming coming from the AdForm library, and donât worry too much about this âexampleâ URL, when you upload these banners to AdForm itâs going to give you the option to specify where you want the click tag to go; this is purely just a placeholder thatâll get swapped out in real time when you do upload these banners into AdForm. Then weâve just got a little click tag event that thatâs gonna open up the the the click tag when you click on the banner inside of the browser for AdForm; all of the JavaScript is written for you, so you donât have to worry about any of that, thatâs all taken care of.
Weâve also got this little file that AdForm requires as well, which is the âmanifest.jsonâ; Bannerify is automatically exporting this from Figma into the AdForm banners; weâve got this âmanifest.jsonâ and when you upload this banner into AdForm, itâs going to read the contents of this file, and thatâs going to give it some information that it requires; things like the width and the height, the title and where the entry point for the banner is, and all that sort of stuff; that all gets included for you, so you donât have to worry about that.
Then of course weâve got the âimagesâ folder as well; this includes SVGs for the text layers to keep them nice and sharp; the PNG for the button; and the JPG for the background; thatâs all of the files you need, you get you get all those files for each of your banners, all the HTML is generated from the Figma plugin, and you donât need to be a developer or even jump into the code editor; I just wanted to show you what Bannerify was generating in case that was of interest.
If we jump back into Figma, as you can see the message is telling us itâs all done itâs ready to be uploaded; thereâs thereâs no more steps. Thatâs all you have to do, as you can see it only took a few seconds to export from Figma to HTML for AdForm; itâs extremely quick, and that just means you can keep re-exporting these banners if you have changes, or if you want to try out different versions, or have different campaigns; you can just export it really quickly from Bannerify and itâll be ready to export from Figma to HTML in a few seconds.
I hope this has been helpful for anyone wondering how to export banners from Figma for AdForm; this is the way you can do it, using the Bannerify Figma plugin. As always, thank you for watching, and weâll be back with more Figma tutorials just like this very soon.

Adam Brock
Founder & CEO of Hypermatic


