Cta Band
A closing CTA section with a large lit headline and an inline email form whose button animates from idle to sending to a success check. Async onSubmit.
src/registry/blocks/cta-band.tsx/r/cta-band.json
Installation#
bash
npx shadcn@latest add https://ui.minidev.pro/r/cta-band.json
Usage#
tsx
import { CtaBand } from "@/components/ui/cta-band"
export function Example() {
return <CtaBand />
}
API reference#
| Prop | Type | Default |
|---|---|---|
title | React.ReactNode | ( <> Know what changed <br /> <span c... |
description | React.ReactNode | "Connect a source and get your first ... |
placeholder | string | "you@company.com" |
button | string | "Start free" |
success | string | "Check your inbox" |
onSubmit | (email: string) => void | Promise<void> | - |
note | React.ReactNode | "No card. Cancel in one click." |
className | string | - |
Dependencies#
npm
lucide-reactmotion
Built from
No other MiniDev files
Related landing pages components#
Bento LiveA React bento feature grid where each tile runs a live demo: a rolling MRR counter, a typed AI answer, ranked alerts and an orbiting integrations ring.Changelog PageA Tailwind changelog card listing releases with a monospace version, tag badge, date, title and summary, separated by hairline dividers.Faq SectionAn FAQ section with a heading column and an accessible accordion: one answer open at a time, arrow key navigation, aria-expanded and smooth row animation.Hero SpotlightA launch hero with a pulsing eyebrow, blur-in headline with a cursor lit second line, two actions, a proof line and a product visual that tilts into place.Marketing LandingA complete Tailwind landing page assembled from a hero with two actions, a logo cloud, a stats strip, a three column feature grid and a closing CTA banner.Premium LandingA React motion landing page combining an aurora hero, an animated feature row, three tier pricing cards that rise into view and a glowing closing CTA.
All Landing page sections for React and Tailwind