Skip to content
VenusUI
Get started

Ripple Call to Action

A centered call to action with an icon and gently pulsing rings behind it.

Preview

Installation

npx shadcn@latest add @venusui/cta-02

Run this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.

Files added to your project

Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.

  • @/components/ui/ripple-background.tsxfrom ripple-background
  • @/components/cta-02.tsx

Also adds the shadcn button component if your project doesn't have it yet.

Usage

The code behind the preview above.

cta-02-demo.tsx

import { Cta02 } from "@/components/cta-02"

export default function Cta02Demo() {
  return <Cta02 />
}

API reference

No props. Edit the icon, headline, text and button in the file.

Requirements

  • shadcn button and VenusUI ripple-background. The CLI installs both.
  • lucide-react, React 19 and Tailwind CSS v4.

Customization

  • Swap the rocket for any Lucide icon that fits your product.
  • Fewer rings make the background quieter.

Accessibility

  • The headline is an h2; rings and icon are decorative.
  • Rings stay still with reduced motion.

Troubleshooting

Rings are cut off unevenly.
The section has overflow-hidden and centers the rings; keep both.
Unknown registry "@venusui"
Your shadcn CLI couldn’t find the namespace in the shadcn registry index. Use the latest CLI (npx shadcn@latest), install by URL, or register it with its address: npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json.
No components.json found
Run npx shadcn@latest init in your project first.