Block 52 of 297
CTA Split Image
Full-bleed call to action with copy and two buttons beside a photo that runs the full section height.
- Puck key
- CtaSplitImageBlock
- Export
- ctaSplitImageBlock
- React component
- <CtaSplitImage />
- Path
- components/puck/cta-split-image-block.tsx
- Dependencies
- None
- License
- MIT
About this block
When to use it, how to write for it, and what to change in the code.
What it's for
An edge-to-edge call to action split in half: eyebrow, heading, body, up to two buttons and a footnote on one side, and a photo filling the full height of the other. You choose the image side and a white, indigo-tint or dark background. On phones the photo becomes a fixed-height strip above the copy, and without a photo the copy centers.
- Recruiting volunteers for a recurring crew or shift
- Promoting a program with a strong action photo near the end of a page
- Alternating feature bands on a long landing page, switching the image side each time
Writing the content
- Pick a photo with its subject near the center; it fills half the section on desktop and a short strip on phones.
- Use the Footnote for a reassuring detail, like the time commitment.
- A button label with a blank link still points to #, so fill in both. Leave Secondary button text blank for one action.
Accessibility
- Heading level is an editor setting (H1 to H4) that doesn't change the type size.
- The photo takes the Image alt text you enter, or an empty alt for a decorative image (WCAG 1.1.1).
- Both buttons are at least 44px tall, with indigo focus outlines on light tones and white on dark.
Customizing the code
- Background options live in the tones object; add an entry there to offer another brand color.
- Phone image height is h-64 sm:h-80, and desktop splits at lg:w-1/2. Change both if you want a narrower photo column.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Eyebrowtext
- Headingtextarea
- Heading levelselect
- Bodytextarea
- Primary button texttext
- Primary button linktext
- Secondary button texttext
- Secondary button linktext
- Footnotetext
- Image URLtext
- Image alt texttext
- Image sideradio
- Backgroundselect