Newsletter Form

Newsletter Form: Email subscribe form with inline button, validation, privacy note, and inline success message — built for footers and landing pages. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Newsletter Form

npx motion-ui-skill add newsletter-form

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • react
  • tailwind-merge

Source files

Newsletter Form

Email subscribe form with inline button, validation, privacy note, and inline success message — built for footers and landing pages.

Install

npx motion-ui-skill add newsletter-form

Dependencies

  • clsx
  • lucide-react
  • react
  • tailwind-merge

Usage

"use client";

import { NewsletterForm } from "@/components/forms/newsletter-form";

export function NewsletterFormDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <NewsletterForm />
    </div>
  );
}

API Reference

NewsletterForm

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category