Bento Feature Grid
Six tiles on an asymmetric 4x3 grid with per-tile spans, a hover glow and a mobile collapse that follows source order.
A "who this is for" grid: four cards naming an audience, the outcome they want and the bullets that get them there.
components/persona-cards.tsxnpx hoverlab add persona-cards
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.
Whichever seat you are in, the work starts further along.
Ship polish without the busywork
Close the gap between the mock and the build
Make an MVP feel like a funded product
Read patterns that are actually in production
Rendered live in your current theme — this is the same component whose source is below, not a screenshot of it.
/**
* <PersonaCards> — a "who this is for" grid.
*
* Four cards, each naming an audience, the outcome they want, and the
* bullets that get them there. The point is self-identification: a visitor
* should find their own job title in the first screenful and stop
* wondering whether the product is aimed at them.
*/
import * as React from 'react'
import { Code2, Palette, Rocket, GraduationCap, ArrowRight } from 'lucide-react'
export interface Persona {
name: string
headline: string
bullets: string[]
icon?: React.ReactNode
/** Tailwind text-color class; the bullet marker derives from it. */
accent?: string
href?: string
ctaLabel?: string
}
export interface PersonaCardsProps {
personas?: Persona[]
heading?: string
subheading?: string
className?: string
}
const DEFAULT_PERSONAS: Persona[] = [
{
icon: <Code2 className="h-5 w-5" />,
name: 'Frontend developers',
headline: 'Ship polish without the busywork',
bullets: [
'Stop rewriting the same hover and focus states',
'Drop a whole section in instead of assembling one',
'No runtime means no bundle-size regression',
],
accent: 'text-sky-500',
},
{
icon: <Palette className="h-5 w-5" />,
name: 'Designers',
headline: 'Close the gap between the mock and the build',
bullets: [
'Show stakeholders something live, not a screenshot',
'Tune spacing, colour and motion against real markup',
'Hand over a link instead of a spec document',
],
accent: 'text-rose-500',
},
{
icon: <Rocket className="h-5 w-5" />,
name: 'Founders',
headline: 'Make an MVP feel like a funded product',
bullets: [
'A credible landing page in an afternoon',
'No design hire required to launch',
'Commercial use covered — ship it and charge for it',
],
accent: 'text-amber-500',
},
{
icon: <GraduationCap className="h-5 w-5" />,
name: 'Learners',
headline: 'Read patterns that are actually in production',
bullets: [
'Every source is commented and idiomatic',
'Learn layout and motion by working example',
'Fork a piece and break it — nothing to set up',
],
accent: 'text-emerald-500',
},
]
export function PersonaCards({
personas = DEFAULT_PERSONAS,
heading = 'Built for everyone who ships UI',
subheading = 'Whichever seat you are in, the work starts further along.',
className = '',
}: PersonaCardsProps) {
return (
<section className={`mx-auto w-full max-w-7xl px-4 py-16 sm:px-6 lg:px-8 ${className}`}>
<div className="mx-auto mb-12 max-w-2xl text-center">
<h2 className="text-balance text-3xl font-bold tracking-tight sm:text-4xl">
{heading}
</h2>
{subheading ? <p className="mt-3 text-muted-foreground">{subheading}</p> : null}
</div>
<div className="grid grid-cols-1 gap-5 sm:grid-cols-2">
{personas.map((p) => {
const accent = p.accent ?? 'text-primary'
return (
<div
key={p.name}
className="group relative overflow-hidden rounded-2xl border border-border/60 bg-card/80 p-6 backdrop-blur transition-all hover:-translate-y-0.5 hover:shadow-lg"
>
<div
aria-hidden
className="pointer-events-none absolute -right-12 -top-12 h-40 w-40 rounded-full bg-primary/10 opacity-0 blur-3xl transition-opacity duration-500 group-hover:opacity-100 border border-transparent"
/>
<div className="relative">
{p.icon ? (
<div
className={`mb-4 inline-flex h-10 w-10 items-center justify-center rounded-xl bg-muted ${accent}`}
>
{p.icon}
</div>
) : null}
<h3 data-stress-ignore className="break-words text-lg font-bold tracking-tight">{p.name}</h3>
<p className="mt-1 break-words text-sm font-medium text-foreground/80">{p.headline}</p>
<ul className="mt-4 space-y-2">
{p.bullets.map((b) => (
<li key={b} className="flex items-start gap-2 text-sm text-muted-foreground">
<span
aria-hidden
className={`mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full ${accent.replace('text-', 'bg-')}`}
/>
<span className="min-w-0 break-words">{b}</span>
</li>
))}
</ul>
{p.href ? (
<a
href={p.href}
className={`mt-5 inline-flex items-center gap-1 text-sm font-semibold transition-all hover:gap-2 ${accent}`}
>
{p.ctaLabel ?? 'Get started'}
<ArrowRight aria-hidden className="h-3.5 w-3.5 rtl:rotate-180" />
</a>
) : null}
</div>
</div>
)
})}
</div>
</section>
)
}
bg-card, text-muted-foreground) — it inherits your theme instead of overriding it.Drop it at components/persona-cards.tsx and import it where you need the section:
import { PersonaCards } from '@/components/persona-cards'2 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 |
|---|---|---|
personas | Persona[] | DEFAULT_PERSONAS |
heading | string | 'Built for everyone who ships UI' |
subheading | string | 'Whichever seat you are in, the work starts f… |
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.
<!--
Audience Persona Cards — 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="mx-auto mb-12 max-w-2xl text-center">
<h2 class="text-balance text-3xl font-bold tracking-tight sm:text-4xl">Built for everyone who ships UI</h2>
<p class="mt-3 text-muted-foreground">Whichever seat you are in, the work starts further along.</p>
</div>
<div class="grid grid-cols-1 gap-5 sm:grid-cols-2">
<div class="group relative overflow-hidden rounded-2xl border border-border/60 bg-card/80 p-6 backdrop-blur transition-all hover:-translate-y-0.5 hover:shadow-lg">
<div aria-hidden="true" class="pointer-events-none absolute -right-12 -top-12 h-40 w-40 rounded-full bg-primary/10 opacity-0 blur-3xl transition-opacity duration-500 group-hover:opacity-100 border border-transparent"></div>
<div class="relative">
<div class="mb-4 inline-flex h-10 w-10 items-center justify-center rounded-xl bg-muted text-sky-500">
<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-code-xml h-5 w-5" aria-hidden="true">
<path d="m18 16 4-4-4-4"></path>
<path d="m6 8-4 4 4 4"></path>
<path d="m14.5 4-5 16"></path>
</svg>
</div>
<h3 data-stress-ignore="true" class="break-words text-lg font-bold tracking-tight">Frontend developers</h3>
<p class="mt-1 break-words text-sm font-medium text-foreground/80">Ship polish without the busywork</p>
<ul class="mt-4 space-y-2">
<li class="flex items-start gap-2 text-sm text-muted-foreground">
<span aria-hidden="true" class="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-sky-500"></span>
<span class="min-w-0 break-words">Stop rewriting the same hover and focus states</span>
</li>
<li class="flex items-start gap-2 text-sm text-muted-foreground">
<span aria-hidden="true" class="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-sky-500"></span>
<span class="min-w-0 break-words">Drop a whole section in instead of assembling one</span>
</li>
<li class="flex items-start gap-2 text-sm text-muted-foreground">
<span aria-hidden="true" class="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-sky-500"></span>
<span class="min-w-0 break-words">No runtime means no bundle-size regression</span>
</li>
</ul>
</div>
</div>
<div class="group relative overflow-hidden rounded-2xl border border-border/60 bg-card/80 p-6 backdrop-blur transition-all hover:-translate-y-0.5 hover:shadow-lg">
<div aria-hidden="true" class="pointer-events-none absolute -right-12 -top-12 h-40 w-40 rounded-full bg-primary/10 opacity-0 blur-3xl transition-opacity duration-500 group-hover:opacity-100 border border-transparent"></div>
<div class="relative">
<div class="mb-4 inline-flex h-10 w-10 items-center justify-center rounded-xl bg-muted text-rose-500">
<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-palette h-5 w-5" aria-hidden="true">
<path d="M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z"></path>
<circle cx="13.5" cy="6.5" r=".5" fill="currentColor"></circle>
<circle cx="17.5" cy="10.5" r=".5" fill="currentColor"></circle>
<circle cx="6.5" cy="12.5" r=".5" fill="currentColor"></circle>
<circle cx="8.5" cy="7.5" r=".5" fill="currentColor"></circle>
</svg>
</div>
<h3 data-stress-ignore="true" class="break-words text-lg font-bold tracking-tight">Designers</h3>
<p class="mt-1 break-words text-sm font-medium text-foreground/80">Close the gap between the mock and the build</p>
<ul class="mt-4 space-y-2">
<li class="flex items-start gap-2 text-sm text-muted-foreground">
<span aria-hidden="true" class="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-rose-500"></span>
<span class="min-w-0 break-words">Show stakeholders something live, not a screenshot</span>
</li>
<li class="flex items-start gap-2 text-sm text-muted-foreground">
<span aria-hidden="true" class="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-rose-500"></span>
<span class="min-w-0 break-words">Tune spacing, colour and motion against real markup</span>
</li>
<li class="flex items-start gap-2 text-sm text-muted-foreground">
<span aria-hidden="true" class="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-rose-500"></span>
<span class="min-w-0 break-words">Hand over a link instead of a spec document</span>
</li>
</ul>
</div>
</div>
<div class="group relative overflow-hidden rounded-2xl border border-border/60 bg-card/80 p-6 backdrop-blur transition-all hover:-translate-y-0.5 hover:shadow-lg">
<div aria-hidden="true" class="pointer-events-none absolute -right-12 -top-12 h-40 w-40 rounded-full bg-primary/10 opacity-0 blur-3xl transition-opacity duration-500 group-hover:opacity-100 border border-transparent"></div>
<div class="relative">
<div class="mb-4 inline-flex h-10 w-10 items-center justify-center rounded-xl bg-muted text-amber-500">
<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-rocket h-5 w-5" aria-hidden="true">
<path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"></path>
<path d="m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"></path>
<path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"></path>
<path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"></path>
</svg>
</div>
<h3 data-stress-ignore="true" class="break-words text-lg font-bold tracking-tight">Founders</h3>
<p class="mt-1 break-words text-sm font-medium text-foreground/80">Make an MVP feel like a funded product</p>
<ul class="mt-4 space-y-2">
<li class="flex items-start gap-2 text-sm text-muted-foreground">
<span aria-hidden="true" class="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-amber-500"></span>
<span class="min-w-0 break-words">A credible landing page in an afternoon</span>
</li>
<li class="flex items-start gap-2 text-sm text-muted-foreground">
<span aria-hidden="true" class="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-amber-500"></span>
<span class="min-w-0 break-words">No design hire required to launch</span>
</li>
<li class="flex items-start gap-2 text-sm text-muted-foreground">
<span aria-hidden="true" class="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-amber-500"></span>
<span class="min-w-0 break-words">Commercial use covered — ship it and charge for it</span>
</li>
</ul>
</div>
</div>
<div class="group relative overflow-hidden rounded-2xl border border-border/60 bg-card/80 p-6 backdrop-blur transition-all hover:-translate-y-0.5 hover:shadow-lg">
<div aria-hidden="true" class="pointer-events-none absolute -right-12 -top-12 h-40 w-40 rounded-full bg-primary/10 opacity-0 blur-3xl transition-opacity duration-500 group-hover:opacity-100 border border-transparent"></div>
<div class="relative">
<div class="mb-4 inline-flex h-10 w-10 items-center justify-center rounded-xl bg-muted text-emerald-500">
<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-graduation-cap h-5 w-5" aria-hidden="true">
<path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z"></path>
<path d="M22 10v6"></path>
<path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5"></path>
</svg>
</div>
<h3 data-stress-ignore="true" class="break-words text-lg font-bold tracking-tight">Learners</h3>
<p class="mt-1 break-words text-sm font-medium text-foreground/80">Read patterns that are actually in production</p>
<ul class="mt-4 space-y-2">
<li class="flex items-start gap-2 text-sm text-muted-foreground">
<span aria-hidden="true" class="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-emerald-500"></span>
<span class="min-w-0 break-words">Every source is commented and idiomatic</span>
</li>
<li class="flex items-start gap-2 text-sm text-muted-foreground">
<span aria-hidden="true" class="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-emerald-500"></span>
<span class="min-w-0 break-words">Learn layout and motion by working example</span>
</li>
<li class="flex items-start gap-2 text-sm text-muted-foreground">
<span aria-hidden="true" class="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-emerald-500"></span>
<span class="min-w-0 break-words">Fork a piece and break it — nothing to set up</span>
</li>
</ul>
</div>
</div>
</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 Feature SectionsCopying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.
Six tiles on an asymmetric 4x3 grid with per-tile spans, a hover glow and a mobile collapse that follows source order.
A full row per feature with the media side flipping each time, so the eye re-enters the page instead of skimming a stack of identical blocks.
Uniform cells, no spans, no state — the grid for nine things that matter equally, where a bento would be a wall and tabs would be a filing cabinet.
What each integration actually does, not a wall of logos — with availability as a text pill rather than a tinted border, and the name as the link so the card is not one enormous one.
A feature section paired with a tabbed fake editor — real selectable code, generated line numbers and a copy button.
Features as a real tablist — arrow keys, roving focus and a drawn product panel per tab — for the section where four features would otherwise fight for one scroll.
An integrations section that says how deep each one goes, instead of a wall of logos that all imply the same thing.