Overview
Buttondown forms are easy to build and can drive newsletter subscriptions directly from your website. If you need a website, Framer is a sleek, no-code tool that can help you build one.
This topic explains how to embed a subscription form for your newsletter in Framer.
Prerequisites
To complete this process, you must have:
- A Framer site
- A Buttondown account
Connecting Buttondown to Framer
If you're interested in a more modern way to embed Buttondown forms in Framer, check out our Framer integration.
Retrieve your form from Buttondown
First, you must retrieve the HTML code for a subscription form from Buttondown.
- In Buttondown, navigate to Settings, and then Embedding.
- Scroll down to the "Form" section and find HTML code for adding a subscription form.
- Copy this code to your clipboard.
Insert an "Embed" block in Framer
- In Framer, click Insert. Scroll through the dropdown menu until you arrive at "Utility."
- Click Embed.
- Click the new embed block and look at the properties panel that pops up.
- Scroll down to the "Embed" section and switch your "Embed" type to "HTML."
- Paste the HTML form code from Buttondown into the HTML field.
You've done it! Your new Buttondown form should now be embedded in your Framer site.
Going above and beyond
Add subscriber tags
As your subscriber base grows, you may want to organize it by assigning tags to individual subscribers. You can use these tags to sort your subscriber base, as well as to send out targeted email blasts.
You can automatically add tags to any new subscribers by modifying the HTML code you used to create your subscription form. All you have to do is add a new <span class="bg-gray-200 font-mono p-0.5 rounded-sm">input</span> tag that matches the following format.
Here's an example of how your HTML code might look with three new tag options.
Here's what that code looks like when it's rendered in your Framer site.
You can add as many tags as you want. To learn more about tags, read Building your subscriber base.
Customize your form
You may want to style your form so that it matches your website's brand and styling. You can do that in Framer by referencing their "Creating Custom Forms" doc.