# Minimal Centered CTA

> Plain centered call to action: a heading, a description and a primary and an outline button. Theme tokens only, light and dark.

A shadcn/ui block from the [@01orbital](https://01orbital.dev/?utm_source=shadcn.exchange) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/01orbital/minimal-cta-01).

- Page, with a live preview: https://shadcn.exchange/r/01orbital/minimal-cta-01
- Screenshot: https://shadcn.exchange/shot/01orbital/minimal-cta-01/light.png
- Registry item: https://01orbital.dev/r/minimal-cta-01.json
- Categories: cta
- Listed: 2026-11-01, source last changed 2026-11-01

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/01orbital/minimal-cta-01.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: `cn`
- Registry items: `@01orbital/button`, `@01orbital/heading`, `@01orbital/section`

## Files

### `blocks/cta/minimal-cta-01/index.tsx`

```tsx
import { cn } from "cn"

import { Heading } from "@/components/editorial/heading"
import {
  Section,
  SectionActions,
  SectionDescription,
  SectionHeader,
  SectionTitleGroup,
} from "@/components/editorial/section"
import { buttonVariants } from "@/components/ui/button"

// The copy: change text here, not in the markup.
const COPY = {
  title: "Start from something that already works",
  body: "Pick a component, read how it is built, and adjust it to the project in front of you.",
  primary: { label: "Get started", href: "#" },
  secondary: { label: "Read the guide", href: "#" },
} as const

export default function MinimalCta01() {
  return (
    <Section>
      <SectionHeader size="lg" align="center">
        <SectionTitleGroup>
          <Heading>{COPY.title}</Heading>
        </SectionTitleGroup>
        <SectionDescription>{COPY.body}</SectionDescription>
        <SectionActions align="center">
          <a
            href={COPY.primary.href}
            data-slot="button"
            className={cn(buttonVariants({ size: "lg" }))}
          >
            {COPY.primary.label}
          </a>
          <a
            href={COPY.secondary.href}
            data-slot="button"
            className={cn(buttonVariants({ variant: "outline", size: "lg" }))}
          >
            {COPY.secondary.label}
          </a>
        </SectionActions>
      </SectionHeader>
    </Section>
  )
}
```
