CTA 27 - Install command copyPro

Developer CTA with a monospace install command in a bordered field with a copy button, plus links to docs and examples.

About CTA 27

Developer CTA with a monospace install command in a bordered field with a copy button, plus links to docs and examples.

CTA 27 is a pro cta block for React, built on shadcn/ui and Tailwind CSS. It ships as 64 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.

  • install
  • command
  • npm
  • developer
  • copy
  • code

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/cta-27

Dependencies installed automatically: lucide-react.

Uses: button, copy-button, reveal, utils.

Usage

import Cta27 from "@/components/blocks/cta-27"

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

FAQ