Newsletter Form
A reusable form component designed for newsletter signups, featuring an email input field and a submit button.
The component comes with a server action that handles adding users to a Resend audience.
Usage
import { NewsletterForm } from "@/app/_components/core/newsletter-form/_components/newsletter-form";
<NewsletterForm layout="inline" />
Props
Name | Type | Default | Description |
---|---|---|---|
layout | "inline" | "stacked" | stacked | The layout of the form. |