Alpine.js is a JavaScript framework that lets you compose behaviors, like forms, directly in the markup of a file.
You can use Alpine.js forms to collect your subscribers' email addresses or other information. Because Buttondown has a traditional <form> endpoint, you can take advantage of the built-in Alpine.js support for action and method attributes and get up and running in seconds.
Here's a code example:
And that's it!