CTA 12 - Email capture formPro

Bordered panel with a headline, inline email field and button that swaps to an animated confirmation on submit.

About CTA 12

Bordered panel with a headline, inline email field and button that swaps to an animated confirmation on submit.

CTA 12 is a cta block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 121 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • email
  • form
  • waitlist
  • input
  • newsletter

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add cta-12

Dependencies installed automatically: lucide-react, motion.

Uses: button, input, motion-presets, reveal, use-reduced-motion, utils.

Usage

import Cta12 from "@/components/blocks/cta-12"

export default function Page() {
  return <Cta12 />
}

FAQ