How to create a download button

A website created in Framer can offer downloads of files up to 50MB. You will need to create a download button using code.

1. Create a new Code Component via the Assets panel and paste in this code for a download button.

2. In the property panel on the right you can now upload your file by clicking “Choose File”.

3. Publish your website. Note: this button only works on published sites. It can not be tested in the preview.

4. Adjust the code the style the button like you want it to look.