Buttondown Documentation
Buttondown forms are easy to build, and can drive newsletter subscriptions directly from your website. If you're in need of a website, Framer is a sleek, no-code tool that can help you build one. By the end of this tutorial, you'll know how to embed a subscription form for your newsletter in Framer.
Before we get going, make sure that you have:
Our journey begins in the "Embedding" section of your Buttondown settings. Scroll down to the "Form" tab to find HTML code for adding a subscription form. Copy this code and keep it in your back pocket—you'll need it later!
Mosey on over to your canvas in Framer. From here, click "Insert" and scroll through the dropdown menu until you arrive at "Utility." Then click "Embed."
Click your newly embedded block, and glance over at the properties panel that pops up.
Scroll down to the "Embed" section and switch your "Embed" type to "HTML."
Remember that code you put in your back pocket? Pull it back out and paste it into the HTML field.
You've done it! Your new Buttondown form should look a little something like this.
As your subscriber base grows (congrats!), you may want to organize it by assigning tags to individual subscribers. These tags can be used 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">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.
Feel free to add as many tags as your heart desires. If you're interested in learning more about tags, check out our doc on "Building your subscriber base."
You may want to style your form so that it matches your website's aesthetic—that's all good! You can do that in Framer by referencing their "Creating Custom Forms" doc.