Back to Components
Cards

CTA Banner

A call to action banner with headline, supporting copy, and primary or secondary actions.

Launch your next product faster

Everything you need to design, build, and ship a complete landing experience.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/cta-banner.tsx

Installation

Using shadcn CLI

npx shadcn add cta-banner --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge