Feature Bento Grid
An asymmetric grid of feature tiles with generated art. Hover or focus a tile: it lifts, a hairline light follows the pointer around its edge, the art drifts up and a call-to-action rises. CTAs stay visible on touch.
Try it: Hover a tile (or Tab to its link) — the edge light follows and the CTA rises.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/feature-bento-grid.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/feature-bento-grid. You can also copy the source into components/ui/feature-bento-grid.tsx (view on GitHub).
Usage
import { FeatureBentoGrid } from '@/components/ui/feature-bento-grid'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
items | BentoItem[] | DEFAULT_BENTO_ITEMS | { id, title, description, icon?, art?: 'chart' | 'globe' | 'keys' | 'calendar' | 'shield', src?, alt?, href?, cta?, span?: 'wide' | 'tall' | 'full' | 'normal' }. |
titleAs | 'h2' | 'h3' | 'h4' | 'h3' | Heading level for tile titles. |
onSelect | (item) => void | — | Fires when a tile without href is activated. |
className | string | — | Extra classes merged onto the grid. |
Dependencies
motionlucide-react
Related Cards components
- Device Frame
Generic, logo-free device chrome for product shots: a browser with a frosted toolbar and centred address field, or a phone with a machined two-tone rim, punch-hole camera, status bar and floating…
- Sticky Card Stack
Project cards that pin one over the next like a deck being dealt — each card shrinks back and dims as the following one slides up over it, still peeking out by a few pixels. Scroll-driven with…
- Neon Halo Card
A card rimmed by a slow sweep of coloured light: a conic gradient travels a hairline edge while a soft bloom breathes behind it, and the pointer pulls a quiet spotlight across the surface.…
- Mesh Project Cards
Project cards headed by a living mesh gradient — drifting blurred blobs with film grain — and a status pill that pulses for live and in-progress work. Cards tilt toward the pointer with a travelling…
- Video Lightbox Dialog
A cinematic thumbnail with a clear-glass play button that grows into a focused player on a shared-layout spring while the page blurs back. Bring your own video, or use the generated preview with…
- Book Spine Shelf
A shelf of generated book spines: the hovered book slides out while neighbours lean away, and choosing one swings its cover open on a hinge into a reading card with an optional ribbon. Arrow keys…