Skip to content

Bento Live

A React bento feature grid where each tile runs a live demo: a rolling MRR counter, a typed AI answer, ranked alerts and an orbiting integrations ring.

src/registry/blocks/bento-live.tsx/r/bento-live.json

Installation

bash
npx shadcn@latest add @minidev/bento-live

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/bento-live.json

Usage

tsx
import { BentoLive } from "@/components/ui/bento-live"

export function Example() {
  return (
    <BentoLive />
  )
}

API reference

BentoLive props
PropTypeDefault
eyebrowSmall mono label above the title. Empty string hides it.string"Product"
titleSection heading (rendered as h2).React.ReactNode"Everything your finance team checks,...
descriptionReact.ReactNode-
itemsTiles in order. Defaults to five live Lumen tiles.BentoItem[]DEFAULT_ITEMS
classNamestring-

When to use

Use as the main "features" section of a landing page, with 4–6 tiles on a 6-column grid. Live tiles only tick while on screen and sit still under reduced motion. Tiles rise in once as the grid enters view and lift on hover. For a text-only grid use FeatureGrid; for a premium animated bento use FeatureBentoMotion.

Accessibility

  • The section is labelled by its <h2> via aria-labelledby; each tile is an <article> with an <h3> title.
  • The typed chat answer is aria-hidden; a visually hidden line gives screen readers the full question and answer at once.
  • The live MRR figure uses NumberRoll, which hides the rolling digits and exposes the formatted value as text.
  • With reduced motion, tiles render in place without the rise, the hover lift is off, the MRR figure stops ticking, the answer shows in full and the orbit stops.

Frequently asked questions

How do I put my own live widget in a tile?

Pass any React node as visual on an item. To match the built-in tiles, start its timer only while it is on screen (useInView from motion/react) and skip it when useReducedMotion() is true; the default LiveMetric tile does exactly that.

Do the live tiles keep running when they are off screen?

No. The ticking MRR figure and the typed answer only run while their tile is in view, and the typed answer restarts each time it scrolls back in. The orbiting source names are a CSS animation that runs all the time unless the visitor prefers reduced motion.

How is BentoLive different from BentoGrid?

BentoGrid is static and server-rendered: icon, title and copy per tile. BentoLive is a client component with a section heading, tiles that rise in on scroll and lift on hover, and a demo area at the top of each tile.

Dependencies

npm

lucide-reactmotion

Built from

All Landing page sections for React and Tailwind

Learn more