# Call to action blocks

> Closing sections with one clear action, set in type, in a panel, or beside the product.

Source: https://www.honestui.com/docs/marketing/ctas

End with one request. If there is a second action, make it the smaller commitment.

## Editorial closing statement [#editorial-closing-statement]

A large closing line and one action, with a rule above and quiet around it.

<BlockPreview name="cta-editorial-statement" />

| Detail         | Guidance                                                                                                                                    |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| Use it for     | The end of a detailed page.                                                                                                                 |
| Content        | A headline of six to ten words and one action.                                                                                              |
| Optional       | The description.                                                                                                                            |
| States         | None.                                                                                                                                       |
| Requires       | [Foundation](/docs/marketing/foundation), [Button](/docs/components/button)                                                                 |
| Goes well with | [Centered questions](/docs/marketing/faqs#centered-questions), [Product directory footer](/docs/marketing/footers#product-directory-footer) |

## Contained action panel [#contained-action-panel]

A contrasting panel, dark in the light theme and raised in the dark one. It follows the shared width and corners.

<BlockPreview name="cta-contained-panel" />

| Detail         | Guidance                                                                                                                                                      |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Use it for     | The middle of a page or a compact ending.                                                                                                                     |
| Content        | A headline under nine words and up to two actions.                                                                                                            |
| Optional       | The description and the second action.                                                                                                                        |
| States         | None.                                                                                                                                                         |
| Requires       | [Foundation](/docs/marketing/foundation), [Button](/docs/components/button)                                                                                   |
| Goes well with | [Divided customer grid](/docs/marketing/logos#divided-customer-grid), [Customer story with results](/docs/marketing/testimonials#customer-story-with-results) |

## Closing message with product crop [#closing-message-with-product-crop]

The message beside the part of the product it asks you to use.

<BlockPreview name="cta-product-supported" />

| Detail         | Guidance                                                                                                                                                        |
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Use it for     | The end of a product page.                                                                                                                                      |
| Content        | A headline under eight words, one sentence, up to two actions, and one scene.                                                                                   |
| Optional       | The backdrop and the second action.                                                                                                                             |
| States         | None.                                                                                                                                                           |
| Requires       | [Foundation](/docs/marketing/foundation), [product scenes](/docs/marketing/foundation#product-scenes), [Button](/docs/components/button)                        |
| Goes well with | [Split questions with contact](/docs/marketing/faqs#split-questions-with-contact), [Product directory footer](/docs/marketing/footers#product-directory-footer) |

## Usage [#usage]

Every prop has a default, so a block renders as soon as it is installed. Pass your own content to replace it.

```tsx
import { CtaContainedPanel } from "@/components/marketing/cta-contained-panel"

<CtaContainedPanel
  title="Try it on the document you are waiting on."
  actions={[{ label: "Start free", href: "/sign-up" }]}
/>
```

### CtaProductSupported [#ctaproductsupported]


  ### `title`

type: `ReactNode`

The closing line.

  ### `actions`

type: `MarketingAction[]`

The first is primary.

  ### `visual`

type: `ReactNode`

Replaces the default product scene.
