Split Hero with Product Panel
Copy on the left, a drawn product panel on the right — the default hero for anything with an interface to show, with no image asset to host and no layout shift while it loads.
Pitch on the left, a marked-up figure and blockquote on the right, so the claim and the evidence for it share the fold instead of sitting a scroll apart.
components/hero-testimonial.tsxnpx hoverlab add hero-testimonial
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.
Every section your product needs, written the way a senior engineer would write it — accessible, themed and yours to edit.
We shipped our entire onboarding flow in a weekend. The parts we would have argued about for a week were already decided, and decided well.
Rendered live in your current theme — this is the same component whose source is below, not a screenshot of it.
/**
* <HeroTestimonial> — a hero that leads with the pitch and closes with proof.
*
* For products sold on trust rather than novelty — agencies, consultancies,
* anything with a long sales cycle. The quote is not a testimonial section
* bolted underneath; it shares the fold, so the claim and the evidence for
* it are read in one pass.
*
* Marked up as a real `<figure>` / `<blockquote>` / `<figcaption>`. A quote
* built from a styled div says nothing about what it is, and this is the
* one element on the page whose meaning *is* its attribution — an unsourced
* quote is decoration.
*
* The avatar is initials in a themed circle rather than a photo: no asset
* to host, no layout shift, and no broken-image icon when the CDN path
* rots six months from now. Swap in an <img> where you have one.
*/
import * as React from 'react'
import { ArrowRight, Quote } from 'lucide-react'
export interface HeroTestimonialProps {
eyebrow?: string
heading?: string
subheading?: string
primaryLabel?: string
primaryHref?: string
secondaryLabel?: string
secondaryHref?: string
quote?: string
authorName?: string
authorTitle?: string
className?: string
}
export function HeroTestimonial({
eyebrow = 'Trusted by 4,000 teams',
heading = 'Stop rebuilding the same eight screens.',
subheading =
'Every section your product needs, written the way a senior engineer would write it — accessible, themed and yours to edit.',
primaryLabel = 'Start free',
primaryHref = '#',
secondaryLabel = 'Talk to sales',
secondaryHref = '#',
quote = 'We shipped our entire onboarding flow in a weekend. The parts we would have argued about for a week were already decided, and decided well.',
authorName = 'Priya Raman',
authorTitle = 'Head of Engineering, Northwind',
className = '',
}: HeroTestimonialProps) {
const initials = authorName
.split(' ')
.map((part) => part[0])
.slice(0, 2)
.join('')
.toUpperCase()
return (
<section className={`relative overflow-hidden ${className}`}>
<div aria-hidden className="pointer-events-none absolute inset-0 -z-10">
<div className="absolute -top-24 right-1/4 h-96 w-96 rounded-full bg-primary/15 blur-3xl border border-transparent" />
</div>
<div className="mx-auto grid w-full max-w-7xl items-center gap-12 px-4 py-16 sm:px-6 lg:grid-cols-[1.1fr_1fr] lg:gap-16 lg:px-8 lg:py-24">
{/* -- Copy ------------------------------------------------------ */}
<div className="max-w-xl">
{eyebrow ? (
<span className="inline-flex items-center gap-1.5 rounded-full border border-border/60 bg-card/60 px-3 py-1 text-xs font-medium text-muted-foreground backdrop-blur">
<span
aria-hidden
className="h-1.5 w-1.5 rounded-full bg-emerald-500 shadow-[0_0_0_3px] shadow-emerald-500/20 border border-transparent"
/>
{eyebrow}
</span>
) : null}
<h1 className="mt-5 text-balance text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl">
{heading}
</h1>
<p className="mt-5 text-pretty text-base leading-relaxed text-muted-foreground sm:text-lg">
{subheading}
</p>
<div className="mt-8 flex flex-col gap-3 sm:flex-row">
<a
href={primaryHref}
className="inline-flex h-12 items-center justify-center gap-1.5 rounded-xl bg-primary px-6 text-sm font-semibold text-primary-foreground shadow-lg shadow-primary/25 transition-transform hover:-translate-y-0.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
>
{primaryLabel}
<ArrowRight aria-hidden className="h-4 w-4 rtl:rotate-180" />
</a>
<a
href={secondaryHref}
className="inline-flex h-12 items-center justify-center rounded-xl border border-border/60 bg-card/60 px-6 text-sm font-semibold backdrop-blur transition-colors hover:bg-card focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
>
{secondaryLabel}
</a>
</div>
</div>
{/* -- Proof ----------------------------------------------------- */}
<figure className="relative rounded-2xl border border-border/60 bg-card/70 p-7 shadow-xl shadow-black/10 backdrop-blur sm:p-9">
<Quote
aria-hidden
className="absolute -top-4 start-7 h-9 w-9 rounded-lg bg-primary p-2 text-primary-foreground shadow-lg shadow-primary/25"
/>
<blockquote className="mt-3 text-pretty text-lg font-medium leading-relaxed sm:text-xl">
{quote}
</blockquote>
<figcaption className="mt-7 flex items-center gap-3 border-t border-border/60 pt-6">
<span
aria-hidden
className="flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-primary/15 text-sm font-bold text-primary"
>
{initials}
</span>
<span className="leading-tight">
<span className="block text-sm font-semibold">{authorName}</span>
<span className="block text-xs text-muted-foreground">{authorTitle}</span>
</span>
</figcaption>
</figure>
</div>
</section>
)
}
bg-card, text-muted-foreground) — it inherits your theme instead of overriding it.Drop it at components/hero-testimonial.tsx and import it where you need the section:
import { HeroTestimonial } from '@/components/hero-testimonial'8 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 |
|---|---|---|
eyebrow | string | 'Trusted by 4,000 teams' |
heading | string | 'Stop rebuilding the same eight screens.' |
subheading | string | — |
primaryLabel | string | 'Start free' |
primaryHref | string | '#' |
secondaryLabel | string | 'Talk to sales' |
secondaryHref | string | '#' |
quote | string | — |
authorName | string | 'Priya Raman' |
authorTitle | string | 'Head of Engineering, Northwind' |
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.
<!--
Hero Anchored by a Customer Quote — 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="relative overflow-hidden ">
<div aria-hidden="true" class="pointer-events-none absolute inset-0 -z-10">
<div class="absolute -top-24 right-1/4 h-96 w-96 rounded-full bg-primary/15 blur-3xl border border-transparent"></div>
</div>
<div class="mx-auto grid w-full max-w-7xl items-center gap-12 px-4 py-16 sm:px-6 lg:grid-cols-[1.1fr_1fr] lg:gap-16 lg:px-8 lg:py-24">
<div class="max-w-xl">
<span class="inline-flex items-center gap-1.5 rounded-full border border-border/60 bg-card/60 px-3 py-1 text-xs font-medium text-muted-foreground backdrop-blur"><span aria-hidden="true" class="h-1.5 w-1.5 rounded-full bg-emerald-500 shadow-[0_0_0_3px] shadow-emerald-500/20 border border-transparent"></span>Trusted by 4,000 teams</span>
<h1 class="mt-5 text-balance text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl">Stop rebuilding the same eight screens.</h1>
<p class="mt-5 text-pretty text-base leading-relaxed text-muted-foreground sm:text-lg">Every section your product needs, written the way a senior engineer would write it — accessible, themed and yours to edit.</p>
<div class="mt-8 flex flex-col gap-3 sm:flex-row">
<a href="#" class="inline-flex h-12 items-center justify-center gap-1.5 rounded-xl bg-primary px-6 text-sm font-semibold text-primary-foreground shadow-lg shadow-primary/25 transition-transform hover:-translate-y-0.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background">Start 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 h-12 items-center justify-center rounded-xl border border-border/60 bg-card/60 px-6 text-sm font-semibold backdrop-blur transition-colors hover:bg-card focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background">Talk to sales</a>
</div>
</div>
<figure class="relative rounded-2xl border border-border/60 bg-card/70 p-7 shadow-xl shadow-black/10 backdrop-blur sm:p-9">
<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-quote absolute -top-4 start-7 h-9 w-9 rounded-lg bg-primary p-2 text-primary-foreground shadow-lg shadow-primary/25" aria-hidden="true">
<path d="M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"></path>
<path d="M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"></path>
</svg>
<blockquote class="mt-3 text-pretty text-lg font-medium leading-relaxed sm:text-xl">We shipped our entire onboarding flow in a weekend. The parts we would have argued about for a week were already decided, and decided well.</blockquote>
<figcaption class="mt-7 flex items-center gap-3 border-t border-border/60 pt-6">
<span aria-hidden="true" class="flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-primary/15 text-sm font-bold text-primary">PR</span>
<span class="leading-tight">
<span class="block text-sm font-semibold">Priya Raman</span>
<span class="block text-xs text-muted-foreground">Head of Engineering, Northwind</span>
</span>
</figcaption>
</figure>
</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 HeroesCopying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.
Copy on the left, a drawn product panel on the right — the default hero for anything with an interface to show, with no image asset to host and no layout shift while it loads.
A linked announcement pill over a large centered headline, dual CTAs and a wordmark strip — the hero for a product with nothing to screenshot yet.
Centered copy above a screenshot in window chrome, masked at the bottom so a tall image never dictates the height of the fold. Wraps your own img or video.
A pre-launch hero whose only ask is an email address, with pending and success states and a signup count that argues for finishing rather than starting.
A hero whose primary action is a real search form with prefilling suggestion chips — for marketplaces and directories, where sending the visitor below the fold to find the search box is the whole failure.
A drawn terminal whose install line is real, selectable text with a working copy button and a feature-detected clipboard call — the hero for anything adopted by typing rather than signing up.
A drawn phone beside two store links built as real anchors rather than badge images, so they inherit the theme, need no hosted asset and carry an accessible name that is not a filename.
A centered hero closing on a definition list of scale numbers, with a masked grid wash behind it — for infrastructure and payments, where "how many" is the second question a buyer asks.
A serif display headline over a 60-character standfirst and a real byline, with one text link and no competing CTAs — the hero for publications and essays, where the writing is the product.
Copy over your own image or video, with a graded scrim and deliberately fixed light-on-dark text — because the background is a photograph in both themes, so flipping the copy would break it.
A hero whose visual is the connector list itself, marked up as a real list so a visitor can skim it for their own stack — asset-free initials tiles, no third-party marks to license.
A day strip built as a radio group rather than buttons, so arrow keys move between dates and sold-out days disable properly — the fold for anything sold by the appointment.
Names the price above the fold for single-plan and one-time products, with the former price in a real strikethrough element so it is never announced as the current one.