# Cta-1

> A simple full-width CTA section

A shadcn/ui block from the [@hexui](https://hexui.sh) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/hexui/cta-1).

- Page, with a live preview: https://shadcn.exchange/r/hexui/cta-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/hexui/cta-1-light-07570149a0883a11.png
- Registry item: https://hexui.sh/r/cta-1.json
- Categories: cta
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://hexui.sh/r/cta-1.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `lucide-react`
- Registry items: `button`

## Files

### `registry/blocks/cta/cta-1/source/app/cta/page.tsx`

```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 py-4">
      <Cta />
    </div>
  )
}
```

### `registry/blocks/cta/cta-1/source/components/cta.tsx`

```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 border-y">
      <div className="mx-auto max-w-5xl 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>
  )
}
```
