Adding a clickable URL to the entire banner โ
To add a link around your entire banner, you can paste a link into the URL field inside of the export settings panel. This will automatically wrap your entire banner inside of an <a>
tag, which has an href
set to the URL that you specified in the input field.
Adding a clickable URL to a specific timeline layer โ
If you need to make a certain timeline layer clickable, you can do this by clicking on that layer in your Figma canvas, then adding an Open link interaction under the native Figma Prototype panel. Pasting your link into the URL field of the Figma interaction will automatically include an onclick="window.open('https://yourwebsitelink.com', '_blank')"
attribute to that element in your HTML banner export.