> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gavai.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Cta

> Single-message conversion band — one headline, one button, placed at peak reader engagement.

export const Def = ({term, type, defaultValue, required, children}) => <>
    <dt className="gv-def-list__term">
      <span className="gv-def-list__name">{term}</span>
      {type && <span className="gv-def-list__type">{type}</span>}
      {required && <span className="gv-def-list__required">required</span>}
      {defaultValue !== undefined && <span className="gv-def-list__default">
          default <code>{defaultValue}</code>
        </span>}
    </dt>
    <dd className="gv-def-list__description">{children}</dd>
  </>;

export const DefList = ({children}) => <dl className="gv-def-list">{children}</dl>;

export const BrandCard = ({eyebrow, title, href, icon, badge, cta, featured = false, horizontal = false, children}) => {
  const classes = ["gv-card", featured && "gv-card--featured", horizontal && "gv-card--horizontal"].filter(Boolean).join(" ");
  const inner = <>
      {icon && <span className="gv-card__icon" aria-hidden="true">
          <Icon icon={icon} />
        </span>}
      <div className="gv-card__main">
        {(eyebrow || badge) && <div className="gv-card__meta">
            {eyebrow && <Eyebrow label={eyebrow} tone="muted" />}
            {badge && <span className="gv-card__badge">{badge}</span>}
          </div>}
        <h3 className="gv-card__title">{title}</h3>
        {children && <div className="gv-card__body">{children}</div>}
        {cta && <span className="gv-card__cta">
            {cta}
            <svg className="gv-card__cta-arrow" viewBox="0 0 24 24" width="12" height="12" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
              <line x1="7" y1="17" x2="17" y2="7" />
              <polyline points="7 7 17 7 17 17" />
            </svg>
          </span>}
      </div>
    </>;
  return href ? <a className={classes} href={href}>
      {inner}
    </a> : <div className={classes}>{inner}</div>;
};

export const FeatureTable = ({columns, rows, featuredRow, caption, variant}) => <div className={`gv-feature-table ${variant ? `gv-feature-table--${variant}` : ""}`}>
    <table>
      {caption && <caption className="gv-feature-table__caption">{caption}</caption>}
      <thead>
        <tr>
          {columns.map(col => <th key={col.key} scope="col">
              <span className="gv-feature-table__header">{col.label}</span>
            </th>)}
        </tr>
      </thead>
      <tbody>
        {rows.map((row, i) => {
  const rowClass = [i === featuredRow ? "gv-feature-table__row--featured" : "", row.chosen ? "gv-feature-table__row--chosen" : ""].filter(Boolean).join(" ");
  return <tr key={i} className={rowClass}>
              {columns.map(col => {
    const v = row[col.key];
    if (variant === "tradeoff" && Array.isArray(v)) {
      const pill = col.key === "pros" ? "gv-feature-table__pill--pro" : col.key === "cons" ? "gv-feature-table__pill--con" : "";
      return <td key={col.key}>
                      {v.map((item, j) => <span key={j} className={`gv-feature-table__pill ${pill}`}>{item}</span>)}
                    </td>;
    }
    return <td key={col.key}>{v}</td>;
  })}
            </tr>;
})}
      </tbody>
    </table>
  </div>;

export const Eyebrow = ({label, tone = "default"}) => <div className={`gv-eyebrow gv-eyebrow--${tone}`}>
    <span className="gv-eyebrow__bar" aria-hidden="true" />
    <span className="gv-eyebrow__label">{label}</span>
  </div>;

<Eyebrow label="BLOCK" />

`Cta` renders a full-width band containing a single headline and a single button. This page explains the props, the available `variant`, and the patterns Cta supports — post-content conversion, sticky band, end-of-flow. The block is intentionally minimal — one message, one action — designed to capture attention at peak reader interest. Reach for it after a FeaturesGrid or another content section to convert readers ready to act, or as a sticky conversion band at the bottom of long pages.

## Example

```json cta.json theme={null}
{
  "block": "Cta",
  "props": {
    "headline": "Ready to start?",
    "cta_label": "Get started",
    "cta_href": "/signup",
    "variant": "centered"
  }
}
```

## Props

<DefList>
  <Def term="headline" type="string" required>
    Single line of copy in the band. Keep short and action-oriented.
  </Def>

  <Def term="cta_label" type="string" required>
    Button label. Use an imperative verb phrase — "Get started", "Book a demo".
  </Def>

  <Def term="cta_href" type="string (URL or path)" required>
    Destination URL or internal path the button navigates to on click.
  </Def>

  <Def term="variant" type="&#x22;centered&#x22;" required>
    Layout variant. `centered` stacks the headline and button on the horizontal center. See the note below for fetching the authoritative enum.
  </Def>
</DefList>

<Note>
  The source enumerates `"centered"` as the only explicit `variant`. Other values may exist in your runtime — fetch the authoritative enum via the [Builder MCP](/mcp/builder-mcp) `get_block_schema` tool.
</Note>

## Patterns

**Post-content conversion.** Place Cta directly after the last content section and before the Footer — readers have absorbed the value proposition and are at peak engagement.

**Sticky bottom band.** On long pages, combine Cta with the `visible_if` common prop so the band appears only after the user has scrolled past the Hero. This keeps the top of the page uncluttered without losing the conversion surface.

**End-of-flow.** Use Cta as the terminal block on quickstart and onboarding pages — one clear next action, no competing links.

## Common props

In addition to the Cta-specific props, every block accepts `id`, `class_overrides`, `visible_if`, and `analytics_event`. See [common props on the PageBlocks overview](/pageblocks/overview#common-props).

## Where to go next

<Columns cols={2}>
  <BrandCard eyebrow="BLOCK" title="Footer" href="/pageblocks/blocks/footer">
    Close the page with link groups and copyright.
  </BrandCard>

  <BrandCard eyebrow="BLOCK" title="Hero" href="/pageblocks/blocks/hero">
    Open the page with a banner that pairs naturally with a Cta further down.
  </BrandCard>
</Columns>
