CTA Marquee Text Band
Three rows of giant type drift in opposite directions behind one button; they speed up and lean with page scroll and slow to a crawl while you hover the button.
ctamarqueetypographyscrollvelocity
Installation
Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/cta-marquee-text-band.tsx.
$pnpm dlx shadcn@latest add "https://pixelpapa.com/r/cta-marquee-text-band.json"Manual install+
1. Install the dependencies.
$pnpm add lucide-react motion2. Copy the code from the Code tab above into your project. It imports the cn helper from @/lib/utils, which every shadcn project already has.
Build it with AI
Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.
AI prompt
Paste into Claude, Cursor, v0 or Lovable
Add the "CTA Marquee Text Band" component from PixelPapa UI to this project. What it is: Three rows of giant type drift in opposite directions behind one button; they speed up and lean with page scroll and slow to a crawl while you hover the button. Category: Calls to Action. Depends on: lucide-react, motion. 1. Install it with the shadcn CLI: npx shadcn@latest add "https://pixelpapa.com/r/cta-marquee-text-band.json" (If the CLI is unavailable, fetch that URL, write files[0].content to components/pixelpapa/cta-marquee-text-band.tsx and install the listed dependencies.) 2. Import it from "@/components/pixelpapa/cta-marquee-text-band" and place it where I describe below. 3. Keep its animation timings and accessibility attributes. Replace the demo copy and data with content that fits my product, and use my existing theme tokens (bg-background, text-foreground, bg-primary, border-border) rather than hard-coded colours. Where to use it: <describe the page and position here>
More calls to action
- CTA App DownloadApp download panel with generic store buttons, a scannable-looking code, and a phone that tilts toward the cursor while its route draws itself and a map saves offline.
- CTA Countdown LaunchA launch countdown on split-flap tiles whose digits roll over each second, with orbit rings turning behind it and a waitlist field that confirms your place inline.
- CTA Dark SpotlightAn always-dark closing section lit by a cursor torch: the headline ink and a dot grid brighten where the light falls, and it drifts on its own when no pointer is around.
- CTA Gradient Glow CardA closing card ringed by a slowly rotating gradient border, with a soft light that trails the cursor and a copyable install command.
- CTA Minimal SerifOne large serif sentence that rises word by word, closed by a magnetic link: a ring of turning type leans toward the cursor while the label's underline draws in.
- CTA Split With FormPitch and a what-happens-next timeline on the left, a demo request form on the right that validates, sends and morphs into a drawn-check confirmation.