CTA 49 - Inline prompt demoPro

Centered CTA with a working mini prompt box: pick or type a request and an instant mocked result animates in below.

About CTA 49

Centered CTA with a working mini prompt box: pick or type a request and an instant mocked result animates in below.

CTA 49 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 146 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.

  • interactive
  • demo
  • prompt
  • ai
  • input

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-49

Dependencies installed automatically: lucide-react, motion.

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

Usage

import Cta49 from "@/components/blocks/cta-49"

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

FAQ