Contact 28 - Minimal one-line email capturePro

A single centered line: headline, one pill input with an inline submit, a brief pending spinner and an animated swap to a success pill.

About Contact 28

A single centered line: headline, one pill input with an inline submit, a brief pending spinner and an animated swap to a success pill.

Contact 28 is a contact block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 103 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
  • capture
  • minimal
  • waitlist

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 contact-28

Dependencies installed automatically: lucide-react, motion.

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

Usage

import Contact28 from "@/components/blocks/contact-28"

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

FAQ