# Compact CTA Card

> Compact call to action card on a muted background with dual buttons and a join 10,000+ teams social proof line.

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

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

## Install

```bash
npx shadcn@latest add https://7ovr.com/r/cta-2.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/2/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-muted px-6 py-12 text-foreground">
      <div className="w-full max-w-md rounded-lg border border-border bg-card px-8 py-10 text-center">
        <h2 className="font-heading text-2xl font-bold tracking-tight text-balance sm:text-3xl">
          Ready to ship your next product?
        </h2>
        <p className="mx-auto mt-3 max-w-sm text-sm text-pretty text-muted-foreground">
          Acme gives your team everything it needs to go from idea to
          production. Start free, no credit card required.
        </p>
        <div className="mt-6 flex flex-col gap-3 sm:flex-row sm:justify-center">
          <Button
            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 For Free
            <IconPlaceholder
              lucide="ArrowRight"
              tabler="IconArrowRight"
              hugeicons="ArrowRightIcon"
              phosphor="ArrowRight"
              remixicon="RiArrowRightLine"
              data-icon="inline-end"
              aria-hidden="true"
            />
          </Button>
          <Button
            variant="outline"
            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)]"
          >
            Talk To Sales
          </Button>
        </div>
        <p className="mt-5 text-xs text-muted-foreground">
          Join 10,000+ teams already building with Acme.
        </p>
      </div>
    </section>
  )
}
```
