# Cta 1

> Centered call-to-action bar with bold heading and dual action buttons.

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

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

## Install

```bash
npx shadcn@latest add https://efferd.com/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

- Registry items: `button`, `@efferd/full-width-divider`

## Files

### `registry/blocks/cta/1/cta.tsx`

```tsx
import { Button } from "@/components/ui/button";
import { FullWidthDivider } from "@/components/full-width-divider";

export function CallToAction() {
	return (
		<div className="relative mx-auto flex w-full max-w-3xl flex-col justify-between border-x md:flex-row">
			<FullWidthDivider className="-top-px" />
			<div className="border-b p-4 md:border-b-0">
				<h2 className="font-heading text-center font-bold text-lg md:text-left md:text-2xl">
					Let your plans shape the future.
				</h2>
			</div>
			<div className="flex items-center justify-center gap-2 p-4 md:border-l">
				<Button variant="secondary">Contact Sales</Button>
				<Button>Get Started</Button>
			</div>
			<FullWidthDivider className="-bottom-px" />
		</div>
	);
}
```
