kevingirelli

Newsletter

CTAs 10

About

An inline newsletter sign-up band with a title/description on one side and an email form with pending, success and error states on the other.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Newsletter to your project and fits it to your theme.

Code

How Newsletter is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Newsletter } from "@/components/ui/newsletter";

export default function NewsletterDemo() {
  return (
    <Newsletter
      onSubscribe={async (email) => {
        await new Promise((resolve) => setTimeout(resolve, 1000));
        console.log("subscribed", email);
      }}
    />
  );
}

More by kevingirelli

View all
  • Aurora

    Aurora

    143
  • QR Code

    QR Code

    139
  • FAQ Section

    FAQ Section

    91
  • Animated Border

    Animated Border

    80
  • Warp Gradient

    Warp Gradient

    68
  • Corner Frame

    Corner Frame

    67
  • Wave Text

    Wave Text

    59
  • Spotlight

    Spotlight

    49

More in CTAs

View all
  • Hills Landscape Footer with Call to Action

    Hills Landscape Footer with Call to Action

    324
  • Cta 4

    Cta 4

    310
  • Button

    Button

    151
  • Call to action

    Call to action

    186
  • Integrations Section

    Integrations Section

    677
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • Hero

    Hero

    1.4K
  • Call to Action 01

    Call to Action 01

    64