# CTA 02

> A simple CTA block

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

- Page, with a live preview: https://shadcn.exchange/r/shadcnui-blocks/cta-02
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnui-blocks/cta-02-light-846bb801e27bcffd.png
- Registry item: https://shadcnui-blocks.com/r/cta-02.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnui-blocks.com/r/cta-02.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

### `src/registry/blocks/radix/cta-02/components/cta.tsx`

```tsx
import { ArrowUpRight } from "lucide-react";
import { Button } from "@/registry/bases/radix/ui/button";

const CTA = () => {
  return (
    <div className="px-0 py-20 sm:px-6">
      <div className="relative mx-auto max-w-5xl overflow-hidden sm:rounded-xl sm:shadow-lg dark:border dark:border-border/80">
        <img
          alt=""
          className="absolute inset-0 size-full object-cover"
          src="/images/ascii-art.png"
        />

        <div className="relative isolate bg-linear-to-r from-black to-black/50 px-10 py-14">
          <h2 className="font-medium text-4xl text-white tracking-tight sm:text-[2.6rem]">
            Step into something better
          </h2>
          <p className="mt-4 max-w-md text-lg text-white/85 md:text-xl/normal">
            Get seamless access to everything you need, right from your phone.
          </p>
          <Button
            className="mt-10 bg-white text-black ring-4 ring-white/30 hover:bg-white/90"
            size="lg"
          >
            Download Now <ArrowUpRight />
          </Button>
        </div>
      </div>
    </div>
  );
};

export default CTA;
```
