Sections
SplitHero
2-column hero with headline/body/CTA on one side and media on the other
Quick Preview
Media Slot
Installation
# No extra dependencies
// Copy component fromsrc/components/sections/SplitHero.tsx
Usage
import SplitHero from '@/components/sections/SplitHero'<SplitHeroeyebrow="New"headline="Your headline"body="Supporting description."ctaPrimary={{ label: 'Get started', href: '/signup' }}ctaSecondary={{ label: 'Learn more', href: '/docs' }}/>
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
headline | string | - | Main headline |
body | string | - | Body copy |
ctaPrimary | { label: string; href: string } | - | Primary CTA |
mediaSlot | ReactNode | - | Custom media on the right |
reverse | boolean | false | Flip column order |