---
title: "Centered CTA"
description: "A closing call to action on a quiet panel: headline, a line, two buttons and a proof line."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/cta-centered
---

# Centered CTA

A closing call to action on a quiet panel: headline, a line, two buttons and a proof line.

Everything sits centred on one muted panel inside the page width. On phones the buttons stack at full width with the solid one first.

A Pro block built on Base UI and Tailwind CSS v4.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/cta-centered
```

## Dependencies
- edbn: edbn-base, button

## Source

The source is part of Pro (https://ui.edbn.me/pricing). The install above adds it to the project, ready to edit.

## More calls to action blocks

All 3, with install commands: https://ui.edbn.me/docs/blocks/calls-to-action · https://ui.edbn.me/docs/blocks/calls-to-action.md

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
