CTA Split

Side-by-side CTA with copy on one side and stacked buttons on the other.

Keep your team aligned

Drop structured CTAs between sections to reinforce the next step.

Sunset.
---
import Button from "@core-elements/button/Button.astro";
import CtaSplit from "@page-sections/ctas/cta-split/CtaSplit.astro";
---

<CtaSplit
buttonSections={
  [
    {
      "_component": "building-blocks/core-elements/button",
      "text": "Create workspace",
      "variant": "primary",
      "size": "md",
      "link": "/workspace"
    },
    {
      "_component": "building-blocks/core-elements/button",
      "text": "Invite team",
      "variant": "secondary",
      "size": "md",
      "link": "/invite"
    }
  ]
} heading="Keep your team aligned" imageAlt="Sunset." imageSource="/src/assets/images/component-docs/sunset.jpg" subtext="Drop structured CTAs between sections to reinforce the next step."
/>
---
blocks:
  _component: page-sections/ctas/cta-split
  heading: Keep your team aligned
  subtext: Drop structured CTAs between sections to reinforce the next step.
  imageSource: /src/assets/images/component-docs/sunset.jpg
  imageAlt: Sunset.
  buttonSections:
    - _component: building-blocks/core-elements/button
      text: Create workspace
      variant: primary
      size: md
      link: /workspace
    - _component: building-blocks/core-elements/button
      text: Invite team
      variant: secondary
      size: md
      link: /invite
---

Overview

Use when you need the headline and supporting text to stay readable while giving the buttons their own column, with colorScheme and backgroundColor props to blend into different sections.

Properties

heading string | default: Heading text

subtext string | default: Subtext placeholder text that will be replaced with actual content.

imageSource string | default: /src/assets/images/component-docs/dunedin-cliff.jpg

imageAlt string | default: CTA image

buttonSections string | default: array

reverse string | default: false

colorScheme string | default: inherit

backgroundColor string | default: base

rounded string | default: false