# Inverted Banner CTA

> Full-width call to action banner on the primary color, heading and subtext left, single high-contrast button right.

A shadcn/ui block from the [@7ovr](https://7ovr.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/7ovr/cta-3).

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

## Install

```bash
npx shadcn@latest add https://7ovr.com/r/cta-3.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: `@base-ui/react`
- Registry items: `button`

## Notes from the registry

Requires a `base-*` style in components.json (the `shadcn init` default). Legacy `new-york`/`radix-*` styles install Radix primitives, which reject the `render` prop this block uses.

## Files

### `registry/blocks/cta/3/cta-block.tsx`

```tsx
import { Button } from "@/components/ui/button"
import { IconPlaceholder } from "@/components/icons/icon-placeholder"

export default function CtaBlock() {
  return (
    <section className="flex w-full items-center justify-center bg-background px-6 py-12 text-foreground">
      <div className="w-full rounded-xl bg-primary px-8 py-16 sm:px-16 sm:py-20">
        <div className="mx-auto flex w-full max-w-5xl flex-col gap-8 sm:flex-row sm:items-center sm:justify-between">
          <div className="flex flex-col gap-3">
            <h2 className="font-heading text-3xl font-bold tracking-tight text-primary-foreground sm:text-4xl">
              Acme is the fastest way to ship.
            </h2>
            <p className="max-w-xl text-base text-primary-foreground/80">
              Join thousands of teams who build and deploy production interfaces
              without the overhead.
            </p>
          </div>
          <div className="shrink-0">
            <Button
              variant="secondary"
              render={<a href="#" />}
              nativeButton={false}
              className="w-full sm:w-auto active:scale-[0.97] transition-transform duration-[160ms] ease-[cubic-bezier(0.23,1,0.32,1)]"
            >
              Get Started Free
              <IconPlaceholder
                lucide="ArrowRight"
                tabler="IconArrowRight"
                hugeicons="ArrowRightIcon"
                phosphor="ArrowRight"
                remixicon="RiArrowRightLine"
                data-icon="inline-end"
                aria-hidden="true"
              />
            </Button>
          </div>
        </div>
      </div>
    </section>
  )
}
```
