Newsletter Capture Band
Email capture with a four-state submission machine and an aria-live status line, so the outcome is announced and not just shown.
A rounded gradient panel that restates the offer for the reader who scrolled past everything — heading left, both CTAs right, reassurance points underneath.
components/cta-split-panel.tsxnpx hoverlab add cta-split-panel
Or over MCP, from your editor's agent — no account needed.
Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.
Start a page with this section — add more, order them, and leave with the page source.
Start a workspace now and have your first sprint planned before standup tomorrow.
Rendered live in your current theme — this is the same component whose source is below, not a screenshot of it.
/**
* <CtaSplitPanel> — the closing call-to-action band.
*
* By the bottom of the page the reader has scrolled past the pitch, the
* proof and the pricing — and possibly read none of it. The closing CTA
* restates the offer in one line for exactly that reader, so it has to
* carry the ask on its own: what it is, what it costs to try, where to
* click. Burying only a button here assumes a memory the scroll destroyed.
*
* The reassurance row answers the three objections that stop the click —
* card, commitment, migration — at the moment of the click, not two
* screens earlier where they were read as marketing.
*/
import * as React from 'react'
import { ArrowRight, Check } from 'lucide-react'
export interface ReassurancePoint {
text: string
}
export interface CtaSplitPanelProps {
heading?: string
supporting?: string
primaryLabel?: string
primaryHref?: string
secondaryLabel?: string
secondaryHref?: string
reassurance?: ReassurancePoint[]
className?: string
}
const DEFAULT_REASSURANCE: ReassurancePoint[] = [
{ text: 'No credit card required' },
{ text: 'Free for teams up to 5' },
{ text: 'Import from Linear in one click' },
]
export function CtaSplitPanel({
heading = 'Ship the roadmap, not the tooling',
supporting = 'Start a workspace now and have your first sprint planned before standup tomorrow.',
primaryLabel = 'Start for free',
primaryHref = '#',
secondaryLabel = 'Book a demo',
secondaryHref = '#',
reassurance = DEFAULT_REASSURANCE,
className = '',
}: CtaSplitPanelProps) {
return (
<section className={`mx-auto w-full max-w-7xl px-4 py-16 sm:px-6 lg:px-8 ${className}`}>
{/* `dark` re-scopes the theme tokens, so this panel is a committed dark
surface in both themes — the glow is still token-driven via primary. */}
<div className="dark relative overflow-hidden rounded-3xl bg-background px-6 py-12 text-foreground sm:px-12 sm:py-16">
<div
aria-hidden
className="pointer-events-none absolute inset-0 bg-gradient-to-br from-primary/25 via-primary/5 to-transparent"
/>
<div
aria-hidden
className="pointer-events-none absolute -right-24 -top-24 h-72 w-72 rounded-full bg-primary/20 blur-3xl border border-transparent"
/>
<div className="relative flex flex-col gap-8 lg:flex-row lg:items-center lg:justify-between lg:gap-16">
<div className="max-w-xl">
<h2 className="text-balance break-words text-3xl font-bold tracking-tight sm:text-4xl">
{heading}
</h2>
<p className="mt-4 text-pretty text-muted-foreground">{supporting}</p>
</div>
<div className="flex flex-wrap shrink-0 flex-col gap-3 sm:flex-row lg:flex-col xl:flex-row">
<a
href={primaryHref}
className="inline-flex items-center justify-center gap-2 rounded-xl bg-primary px-6 py-3 text-sm font-semibold text-primary-foreground transition-colors hover:bg-primary/90"
>
{primaryLabel}
<ArrowRight aria-hidden className="h-4 w-4 rtl:rotate-180" />
</a>
<a
href={secondaryHref}
className="inline-flex items-center justify-center rounded-xl border border-border bg-background/50 px-6 py-3 text-sm font-semibold transition-colors hover:bg-muted"
>
{secondaryLabel}
</a>
</div>
</div>
<ul className="relative mt-10 flex flex-wrap gap-x-8 gap-y-3 border-t border-border/60 pt-8">
{reassurance.map((point) => (
<li
key={point.text}
className="flex items-center gap-2 text-sm text-muted-foreground"
>
<Check aria-hidden className="h-4 w-4 shrink-0 text-primary" />
{point.text}
</li>
))}
</ul>
</div>
</section>
)
}
bg-card, text-muted-foreground) — it inherits your theme instead of overriding it.Drop it at components/cta-split-panel.tsx and import it where you need the section:
import { CtaSplitPanel } from '@/components/cta-split-panel'5 of this block’s props are simple enough to drive from here. Change them and the block below re-renders — it is the same component whose source is above, not a mock of it. Everything else it accepts is in the table underneath.
Read out of the component’s own type and signature, so this cannot drift from the source below. Every prop has a default — the component renders standalone before you pass it anything.
| Prop | Type | Default |
|---|---|---|
heading | string | 'Ship the roadmap, not the tooling' |
supporting | string | — |
primaryLabel | string | 'Start for free' |
primaryHref | string | '#' |
secondaryLabel | string | 'Book a demo' |
secondaryHref | string | '#' |
reassurance | ReassurancePoint[] | DEFAULT_REASSURANCE |
className | string | '' |
The same block rendered once to markup, wrapped as a file your framework compiles. Tailwind classes are framework-agnostic, so the design transfers intact — the behaviour does not.
<!--
Closing CTA Panel — markup from the Hoverlab catalog.
This is the block rendered once to HTML and wrapped as a component
file. It is not a port of the React source: the Tailwind classes carry
the design, which is the part that took the work, and they are the same
in every framework.
This block has no interactive behaviour, so nothing is missing.
-->
<section class="mx-auto w-full max-w-7xl px-4 py-16 sm:px-6 lg:px-8 ">
<div class="dark relative overflow-hidden rounded-3xl bg-background px-6 py-12 text-foreground sm:px-12 sm:py-16">
<div aria-hidden="true" class="pointer-events-none absolute inset-0 bg-gradient-to-br from-primary/25 via-primary/5 to-transparent"></div>
<div aria-hidden="true" class="pointer-events-none absolute -right-24 -top-24 h-72 w-72 rounded-full bg-primary/20 blur-3xl border border-transparent"></div>
<div class="relative flex flex-col gap-8 lg:flex-row lg:items-center lg:justify-between lg:gap-16">
<div class="max-w-xl">
<h2 class="text-balance break-words text-3xl font-bold tracking-tight sm:text-4xl">Ship the roadmap, not the tooling</h2>
<p class="mt-4 text-pretty text-muted-foreground">Start a workspace now and have your first sprint planned before standup tomorrow.</p>
</div>
<div class="flex flex-wrap shrink-0 flex-col gap-3 sm:flex-row lg:flex-col xl:flex-row">
<a href="#" class="inline-flex items-center justify-center gap-2 rounded-xl bg-primary px-6 py-3 text-sm font-semibold text-primary-foreground transition-colors hover:bg-primary/90">Start for free<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-right h-4 w-4 rtl:rotate-180" aria-hidden="true"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg></a>
<a href="#" class="inline-flex items-center justify-center rounded-xl border border-border bg-background/50 px-6 py-3 text-sm font-semibold transition-colors hover:bg-muted">Book a demo</a>
</div>
</div>
<ul class="relative mt-10 flex flex-wrap gap-x-8 gap-y-3 border-t border-border/60 pt-8">
<li class="flex items-center gap-2 text-sm text-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check h-4 w-4 shrink-0 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg>No credit card required</li>
<li class="flex items-center gap-2 text-sm text-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check h-4 w-4 shrink-0 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg>Free for teams up to 5</li>
<li class="flex items-center gap-2 text-sm text-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check h-4 w-4 shrink-0 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg>Import from Linear in one click</li>
</ul>
</div>
</section>
What each framework gets across the whole catalog — effects convert properly; this rung is markup.
The component, its props, the design tokens it expects and the command that installs it — as one prompt. Paste it into Claude, Cursor, v0 or ChatGPT and what they build around it will match the rest of the catalog instead of inventing its own system.
Want the whole screen instead of this one section? Open a page and copy it entire.
All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.
Browse CTA SectionsCopying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.
Email capture with a four-state submission machine and an aria-live status line, so the outcome is announced and not just shown.
A closing CTA of three link cards pointing at GitHub, chat and social — somewhere to go for the visitor who is not ready to convert.
The call to action that follows a long page down — held back until the reader is past a scroll threshold, dismissible, and spaced so it never covers the content it is selling.
The offer that sits inside the column instead of interrupting it — a labelled aside a screen reader can skip in one keystroke, tied to the paragraph above it, with the friction admitted before the click.
A waitlist capture that shows position and referral credit, turning a dead-end confirmation into the one action that moves the queue.
A demo request that offers the self-serve escape first, so the people who did not want a call do not book one.