# Cta

> The closing call to action near the end of a page, as a raised card or an open band.

Status: beta. Category: Blocks.

```ts
import { Cta } from '@glyphui/blocks'
```

Exports: `Cta`, `ctaStyles`.

## Cta props

| Prop | Type | Default | Description |
|---|---|---|---|
| `title` (required) | `ReactNode` |  |  |
| `actions` | `ReactNode` |  |  |
| `animate` | `boolean` | `true` | Entrance animations as the block scrolls into view. They follow the theme's motion level and the visitor's reduced-motion setting; `false` turns them off for this block. Default true. |
| `description` | `ReactNode` |  |  |
| `headingLevel` | `HeadingLevel` | `2` |  |
| `variant` | `"band" \| "card"` | `card` | `card` (default) is a raised panel; `band` is open text across the page. |

## Example: Card

```tsx
import { Cta } from '@glyphui/blocks'
import { Button } from '@glyphui/ui'

export default function Example() {
  return (
    <Cta
      title="Send your next invoice in five minutes"
      description="Connect your payment provider, pick a template, and you’re done."
      actions={
        <>
          <Button size="lg">Start free</Button>
          <Button size="lg" variant="ghost">
            Talk to sales
          </Button>
        </>
      }
    />
  )
}
```

## Example: Band

```tsx
import { Cta } from '@glyphui/blocks'
import { Button } from '@glyphui/ui'

export default function Example() {
  return (
    <Cta variant="band" title="Ready when you are" actions={<Button>Create an account</Button>} />
  )
}
```

Live page: https://glyphui.xyz/components/cta
