hexui
blockcta-2source: ok · hit
Cta-2
A simple CTA section with spacious padding
npx shadcn add "https://hexui.sh/r/cta-2.json"free
Where it goes
cta
Tags auto-generated by rules on 9/24/2026 — empty means no evidence, not lack of support.
Dependencies
Bundle weight · lighticonslucide-react
Registry dependencies
button
Files2 · source cached 10/9/2026, 11:29:10 AM
registry/blocks/cta/cta-2/source/app/cta/page.tsx
import { Cta } from "../../components/cta"
export default function Page() {
return (
<div className="flex min-h-screen w-full flex-col items-center justify-center px-4 py-4">
<Cta />
</div>
)
}
registry/blocks/cta/cta-2/source/components/cta.tsx
import { ArrowRight } from "lucide-react"
import { Button } from "@/components/ui/button"
export function Cta() {
return (
<section aria-labelledby="cta-heading" className="relative w-full">
<div className="mx-auto max-w-6xl rounded-xl border px-6 py-18">
<div className="mx-auto max-w-xl text-center">
<h2
id="cta-heading"
className="text-balance text-2xl font-bold text-foreground md:text-3xl xl:text-4xl"
>
Ready to get started?
</h2>
<p className="mt-4 text-pretty text-sm text-muted-foreground md:text-base xl:text-lg">
Empower your team to create at the speed of thought. Ship faster,
iterate smarter, and scale effortlessly.
</p>
<div className="mt-8 flex items-start justify-center gap-4 md:items-center">
<Button
size="lg"
className="h-11 rounded-4xl px-6 text-sm md:text-base"
>
Get Started
<ArrowRight className="ml-2" />
</Button>
<Button
variant="outline"
size="lg"
className="h-11 rounded-4xl px-6 text-sm md:text-base"
>
Watch Demo
</Button>
</div>
</div>
</div>
</section>
)
}