COMPONENTS · SECTIONS

Tailwind Newsletter Components & Sections

Convert visitors with Tailwind newsletter forms. Spam-free validation, modal or inline layouts and dark-mode ready components.

9 sections1 freeTailwind CSS v4HTML · React · MCP

Newsletter: Centered Headline Form

Centered headline and subtext with email field and “Get started” button

Free
Full-width previewnpx shadcn@latest add https://tailkits.com/r/free-newsletter-1.json
View HTML code
<section
  class="pt-12 lg:pt-16 bg-gradient-to-b from-tk-tint-3 via-tk-tint-4 to-background pb-12 lg:pb-16"
>
  <div
    class="max-w-7xl mx-auto px-4 xl:px-0 flex flex-col items-center"
    data-tk-motion="reveal"
  >
    <div
      class="items-center justify-center rounded-full text-sm font-medium whitespace-nowrap shadow-tk-md inline-flex bg-background text-secondary-foreground px-2.5 py-1"
    >
      Newsletter
    </div>
    <h2
      class="mt-8 bg-gradient-to-b from-tk-title-start to-tk-title-end bg-clip-text text-center text-3xl font-semibold text-transparent sm:w-2/3 md:w-1/2 lg:mt-9 lg:text-4xl lg:leading-tight xl:w-1/2"
    >
      Stay in the Loop with Our Exclusive Newsletter
    </h2>
    <p
      class="mt-4 text-center text-sm font-medium text-muted-foreground sm:w-1/2 lg:w-2/5"
    >
      Get the latest updates, industry insights, and exclusive offers delivered
      straight to your inbox.
    </p>
    <form
      class="mt-8 flex w-full flex-col gap-y-2 sm:w-1/2 md:w-2/5 lg:mt-12 lg:flex-row lg:items-center lg:gap-x-4 lg:gap-y-0 xl:w-2/5"
    >
      <div class="flex w-full flex-col">
        <label for="email" class="sr-only">Email address</label>
        <div
          class="group relative rounded-tk-xl border border-input bg-background transition hover:bg-muted"
        >
          <input
            id="email"
            name="email"
            type="email"
            class="font-medium w-full rounded-tk-xl bg-transparent shadow-tk-sm text-sm placeholder:font-medium placeholder:text-sm text-card-foreground focus-visible:outline-none focus:shadow-tk-focus pl-10 pr-9 py-3 placeholder:text-tk-text-placeholder"
            autocomplete="email"
            placeholder="Enter your email"
          />
          <svg
            class="absolute top-1/2 -translate-y-1/2 left-0 flex h-5 items-center text-muted-foreground transition group-hover:text-tk-text-faint group-focus:text-muted-foreground ml-3"
            xmlns="http://www.w3.org/2000/svg"
            viewBox="0 0 24 24"
            fill="currentColor"
            aria-hidden="true"
            data-slot="icon"
          >
            <path
              d="M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-8.928 5.493a3 3 0 0 1-3.144 0L1.5 8.67Z"
            />
            <path
              d="M22.5 6.908V6.75a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.158l9.714 5.978a1.5 1.5 0 0 0 1.572 0L22.5 6.908Z"
            />
          </svg>
        </div>
      </div>
      <button
        type="submit"
        class="items-center justify-center whitespace-nowrap text-sm font-medium transition focus:shadow-tk-focus shadow-tk-sm bg-primary text-primary-foreground hover:bg-tk-primary-hover disabled:bg-primary/30 disabled:text-tk-primary-foreground-muted/70 px-5 py-3 rounded-tk-xl flex"
        data-tk-hover="press"
      >
        Get started
        <svg
          class="shrink-0 ml-3 h-5"
          xmlns="http://www.w3.org/2000/svg"
          viewBox="0 0 24 24"
          fill="currentColor"
          aria-hidden="true"
          data-slot="icon"
        >
          <path
            fill-rule="evenodd"
            d="M12.97 3.97a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 1 1-1.06-1.06l6.22-6.22H3a.75.75 0 0 1 0-1.5h16.19l-6.22-6.22a.75.75 0 0 1 0-1.06Z"
            clip-rule="evenodd"
          />
        </svg>
      </button>
    </form>
  </div>
</section>

Third-party libraries in the Tailkits directory that include newsletter sections. Reviewed by the editors; sponsored listings are marked.

226 Free & Open Source Tailwind CSS Components

MORE TAILWIND SECTIONS

Hero 31Features 23How It Works 20Testimonial 13Footer 12Pricing 10Call to Action 9Navbar 9Blog 7Contact 7FAQ 7Header 7Logo Cloud 7Team 7Sign In 6Sign Up 6Stats 6Waitlist 6Announcement Bar 5Comparison 5Integrations 5Launch 5Roadmap 5Blog Content 3Launch Badges 3Bento Grid 2Coming Soon 2
GOOD TO KNOW

Frequently asked questions

Answers to common questions about Tailwind newsletter components.

Are these Tailwind newsletter sections free?

1 of the 9 newsletter sections on this page are free (Centered Headline Form): copy the HTML above, no account needed. The other 8 are part of Tailkits UI, the paid library; each shows a preview here and unlocks its code with a Tailkits UI plan.

Which Tailwind CSS version do the newsletter components use?

Tailwind CSS v4. The code is plain HTML with utility classes; colours, radii and shadows read CSS variables named like shadcn/ui's (bg-primary, text-muted-foreground), so a shadcn theme or a DESIGN.md export reskins every section. Add tailkits-theme.css next to the code for the default look.

Can I use these newsletter sections in React or Next.js?

Yes. Every section is also a React component in the @tailkits shadcn registry. Free sections install without an account, for example: npx shadcn@latest add https://tailkits.com/r/free-<name>.json. Paid sections install with the token from your Tailkits UI account.

Can an AI coding assistant add a newsletter section for me?

Yes. The Tailkits MCP at tailkits.com/mcp is free and open, with no account: Claude Code, Cursor and other MCP clients can search the newsletter sections and insert the code into your project. A Tailkits UI token unlocks the Pro section code.

Which other libraries have Tailwind newsletter components?

The directory lists 2 third-party libraries with newsletter sections, including , . They are shown below our own sections, with their pricing and stack.