Skip to content
Marketing block

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.

114 lineslucide-reactAdded 8 Aug 2026
  • bento
  • features
  • grid
  • asymmetric
  • cards

What's included

  • components/bento-features.tsx
  • Needs lucide-react

Works with

  • React
  • Next.js
  • Tailwind CSS
  • TypeScript

npx hoverlab add bento-features

Or over MCP, from your editor's agent — no account needed.

License

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.

Was this useful?

Start a page with this section — add more, order them, and leave with the page source.

Preview

Everything, in one place

The parts you would otherwise rebuild on every project.

Fast by default

No runtime, no hydration cost, no waterfall. What you paste is what the browser paints.

Yours to keep

Copied code lives in your repo. Nothing phones home and nothing breaks when we ship.

Zero dependencies

Nothing to audit.

Composable

Every piece works alone or nested inside the next one up.

Accessible

Keyboard paths, focus rings and reduced-motion fallbacks included.

"It replaced our design system backlog."

Priya R., Staff Engineer

Rendered live in your current theme — this is the same component whose source is below, not a screenshot of it.

Source

components/bento-features.tsx
/**
 * <BentoFeatures> — an asymmetric feature grid.
 *
 * Six tiles on a 4-column × 3-row grid at `lg`, each declaring its own span
 * so the layout reads as composed rather than tiled. Below `lg` every tile
 * collapses to full width in source order, which is why the most important
 * tile is first in the array rather than positioned by grid placement.
 */

import * as React from 'react'
import { Sparkles, Shield, Zap, Layers, Globe, Quote } from 'lucide-react'

export interface BentoTile {
  title: string
  body: string
  icon?: React.ReactNode
  /** Tailwind span classes applied at `lg` and up. */
  span?: string
  accent?: string
}

export interface BentoFeaturesProps {
  tiles?: BentoTile[]
  heading?: string
  subheading?: string
  className?: string
}

const DEFAULT_TILES: BentoTile[] = [
  {
    title: 'Fast by default',
    body: 'No runtime, no hydration cost, no waterfall. What you paste is what the browser paints.',
    icon: <Sparkles className="h-5 w-5" />,
    span: 'sm:col-span-2 lg:row-span-2',
    accent: 'text-primary',
  },
  {
    title: 'Yours to keep',
    body: 'Copied code lives in your repo. Nothing phones home and nothing breaks when we ship.',
    icon: <Shield className="h-5 w-5" />,
    span: 'sm:col-span-2',
    accent: 'text-emerald-500',
  },
  {
    title: 'Zero dependencies',
    body: 'Nothing to audit.',
    icon: <Zap className="h-5 w-5" />,
    span: 'lg:row-span-2',
    accent: 'text-amber-500',
  },
  {
    title: 'Composable',
    body: 'Every piece works alone or nested inside the next one up.',
    icon: <Layers className="h-5 w-5" />,
    accent: 'text-sky-500',
  },
  {
    title: 'Accessible',
    body: 'Keyboard paths, focus rings and reduced-motion fallbacks included.',
    icon: <Globe className="h-5 w-5" />,
    accent: 'text-rose-500',
  },
  {
    title: '"It replaced our design system backlog."',
    body: 'Priya R., Staff Engineer',
    icon: <Quote className="h-5 w-5" />,
    span: 'sm:col-span-2',
    accent: 'text-violet-500',
  },
]

export function BentoFeatures({
  tiles = DEFAULT_TILES,
  heading = 'Everything, in one place',
  subheading = 'The parts you would otherwise rebuild on every project.',
  className = '',
}: BentoFeaturesProps) {
  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-4 sm:grid-cols-2 lg:grid-cols-4 lg:grid-rows-3">
        {tiles.map((tile) => (
          <div
            key={tile.title}
            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 ${tile.span ?? ''}`}
          >
            <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 flex h-full flex-col">
              {tile.icon ? (
                <div
                  className={`mb-3 inline-flex h-10 w-10 items-center justify-center rounded-xl bg-muted ${tile.accent ?? 'text-foreground'}`}
                >
                  {tile.icon}
                </div>
              ) : null}
              <h3 data-stress-ignore className="min-w-0 break-words text-lg font-bold tracking-tight">{tile.title}</h3>
              <p className="mt-2 min-w-0 break-words text-sm leading-relaxed text-muted-foreground">{tile.body}</p>
            </div>
          </div>
        ))}
      </div>
    </section>
  )
}

Before you paste

  • Styling is Tailwind utility classes on semantic tokens (bg-card, text-muted-foreground) — it inherits your theme instead of overriding it.
  • Install: npm i lucide-react
  • Every prop has a default, so it renders standalone before you wire it up.

Where it goes

Drop it at components/bento-features.tsx and import it where you need the section:

import { BentoFeatures } from '@/components/bento-features'

Customize

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.

Props

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.

PropTypeDefault
tilesBentoTile[]DEFAULT_TILES
headingstring'Everything, in one place'
subheadingstring'The parts you would otherwise rebuild on eve…
classNamestring''

Not using React?

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.

bento-features.html
<!--
  Bento Feature Grid — 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">Everything, in one place</h2>
    <p class="mt-3 text-muted-foreground">The parts you would otherwise rebuild on every project.</p>
  </div>
  <div class="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4 lg:grid-rows-3">
    <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 sm:col-span-2 lg:row-span-2">
      <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 flex h-full flex-col">
        <div class="mb-3 inline-flex h-10 w-10 items-center justify-center rounded-xl bg-muted text-primary">
          <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-sparkles h-5 w-5" aria-hidden="true">
            <path d="M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"></path>
            <path d="M20 3v4"></path>
            <path d="M22 5h-4"></path>
            <path d="M4 17v2"></path>
            <path d="M5 18H3"></path>
          </svg>
        </div>
        <h3 data-stress-ignore="true" class="min-w-0 break-words text-lg font-bold tracking-tight">Fast by default</h3>
        <p class="mt-2 min-w-0 break-words text-sm leading-relaxed text-muted-foreground">No runtime, no hydration cost, no waterfall. What you paste is what the browser paints.</p>
      </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 sm:col-span-2">
      <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 flex h-full flex-col">
        <div class="mb-3 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-shield h-5 w-5" aria-hidden="true">
            <path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"></path>
          </svg>
        </div>
        <h3 data-stress-ignore="true" class="min-w-0 break-words text-lg font-bold tracking-tight">Yours to keep</h3>
        <p class="mt-2 min-w-0 break-words text-sm leading-relaxed text-muted-foreground">Copied code lives in your repo. Nothing phones home and nothing breaks when we ship.</p>
      </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 lg:row-span-2">
      <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 flex h-full flex-col">
        <div class="mb-3 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-zap h-5 w-5" aria-hidden="true">
            <path d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"></path>
          </svg>
        </div>
        <h3 data-stress-ignore="true" class="min-w-0 break-words text-lg font-bold tracking-tight">Zero dependencies</h3>
        <p class="mt-2 min-w-0 break-words text-sm leading-relaxed text-muted-foreground">Nothing to audit.</p>
      </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 flex h-full flex-col">
        <div class="mb-3 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-layers h-5 w-5" aria-hidden="true">
            <path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"></path>
            <path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"></path>
            <path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"></path>
          </svg>
        </div>
        <h3 data-stress-ignore="true" class="min-w-0 break-words text-lg font-bold tracking-tight">Composable</h3>
        <p class="mt-2 min-w-0 break-words text-sm leading-relaxed text-muted-foreground">Every piece works alone or nested inside the next one up.</p>
      </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 flex h-full flex-col">
        <div class="mb-3 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-globe h-5 w-5" aria-hidden="true">
            <circle cx="12" cy="12" r="10"></circle>
            <path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"></path>
            <path d="M2 12h20"></path>
          </svg>
        </div>
        <h3 data-stress-ignore="true" class="min-w-0 break-words text-lg font-bold tracking-tight">Accessible</h3>
        <p class="mt-2 min-w-0 break-words text-sm leading-relaxed text-muted-foreground">Keyboard paths, focus rings and reduced-motion fallbacks included.</p>
      </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 sm:col-span-2">
      <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 flex h-full flex-col">
        <div class="mb-3 inline-flex h-10 w-10 items-center justify-center rounded-xl bg-muted text-violet-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-quote h-5 w-5" 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>
        </div>
        <h3 data-stress-ignore="true" class="min-w-0 break-words text-lg font-bold tracking-tight">&quot;It replaced our design system backlog.&quot;</h3>
        <p class="mt-2 min-w-0 break-words text-sm leading-relaxed text-muted-foreground">Priya R., Staff Engineer</p>
      </div>
    </div>
  </div>
</section>
  • This is rendered HTML, not a translation of the React source. The Tailwind classes carry the design and work in any framework.
  • It is one frame: the component in its initial state, with no props applied beyond the defaults.
  • Requires Tailwind, and the design tokens the classes reference (bg-card, text-muted-foreground, and so on). The template ZIPs ship a globals.css that defines them.

What each framework gets across the whole catalog — effects convert properly; this rung is markup.

For AI

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.

See the prompt

Used in these pages

Want the whole screen instead of this one section? Open a page and copy it entire.

7 more blocks in Feature Sections

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 Sections

Shipping one commercially

Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.

  • A commercial licence for everything in the catalog
  • Unlimited bundle exports, in Vue, Svelte and Tailwind
  • One payment — no subscription, nothing to renew
Pro — $79 once

More Feature Sections blocks

View category
Open the full page for this block

Alternating Feature Rows

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.

Feature Sections161 lines1 dep
Open the full page for this block

Icon Feature Grid

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.

Feature Sections150 lines1 dep
Open the full page for this block

Integration Directory Grid

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.

Feature Sections208 linesNo deps
Open the full page for this block

Audience Persona Cards

A "who this is for" grid: four cards naming an audience, the outcome they want and the bullets that get them there.

Feature Sections145 lines1 dep
Open the full page for this block

Editor Window Showcase

A feature section paired with a tabbed fake editor — real selectable code, generated line numbers and a copy button.

Feature Sections164 lines1 dep
Open the full page for this block

Tabbed Feature Showcase

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.

Feature Sections217 lines1 dep
Open the full page for this block

Integration Depth Split

An integrations section that says how deep each one goes, instead of a wall of logos that all imply the same thing.

Feature Sections157 linesNo deps