There are two different options for using GIFs in your banner designs, each one works a bit differently, depending on how you’d like to incorporate the GIF into your design. Your GIF layer will need to be included in the main timeline; any nested layers containing a GIF won’t be rendered or included in your HTML exports.

Using animated GIFs as image layers

You can drag a .gif file inside of any top level banner, which will add it as a Figma image layer.

This method won’t allow to include any other content over the top of the animated GIF, however, any additional Figma fills (eg color/gradient overlays) on this frame will also be included in the final .gif export.

Using animated GIFs as background fills on a frame layer

Alternatively, you can also drag a .gif file from your computer onto a frame layer’s fill, which will set it as an image fill on the background of the frame. Any additional Figma fills (eg color/gradient overlays) on this frame will also be included in the final .gif export.

The advantage of this is that you can then add other Figma layers (text, images etc) inside of the frame on top of your animated GIF, and those will also be included in the .gif that gets exported with your HTML banners.

Animated GIFs will be displayed as static images in the timeline preview. Please note, due to GIFs taking longer to render from Figma layers, they will only be exported in your final HTML exports in order to speed up refreshing banner previews inside the plugin. Embedded animated GIFs will also not be included in GIF/Video exports from Bannerify.

Flagging transparent GIFs

By default, your GIF exports won’t include transparency. If your GIF does require transparency, please add the word transparent anywhere in your Figma layer’s name.