Glow Bento
A bento grid of feature cards with built-in animated artwork, edges that light up near the cursor across neighboring cards, a spotlight inside the hovered card and a ring of light on click.
pixikit.com/docs/components/glow-bento
Customize
Columns4
Row height200px
Gap12px
Radius20px
Theme
Glow color
Enable border glow
Enable spotlight
Spotlight radius300px
Enable stars
Particle count24
Enable tilt
Enable magnetism
Click effect
Text auto hide
Intro
Disable animations
Props
22| Name | Type | Default | Description |
|---|---|---|---|
items | GlowBentoItem[] | None | Cards to show. Each takes label, title, description, icon, image, visual, content, href, onClick, colSpan and rowSpan. |
columns | number | 4 | Columns on wide screens. Drops to 2, then 1, as the grid gets narrower. |
rowHeight | number | 200 | Height of one row, in px. |
gap | number | 12 | Space between cards, in px. |
radius | number | 20 | Corner radius of the cards, in px. |
theme | "dark" | "light" | "dark" | Color theme of the cards. |
glowColor | string | None | Color of the lights and the accents in the artwork. Takes hex or "r, g, b". |
enableBorderGlow | boolean | true | Lights up the card edges near the cursor, across neighboring cards too. |
enableSpotlight | boolean | true | A soft light follows the cursor inside the hovered card. |
spotlightRadius | number | 300 | Size of the cursor light, in px. |
enableStars | boolean | false | Fine specks of light drift up around the cursor in the hovered card. |
particleCount | number | 24 | Number of specks in each card. |
enableTilt | boolean | false | Tilts the hovered card toward the cursor. |
enableMagnetism | boolean | false | The hovered card leans a few pixels toward the cursor. |
clickEffect | boolean | true | Clicking sends a ring of light across the grid and replays the card artwork. |
textAutoHide | boolean | true | Keeps titles to one line and descriptions to two. |
intro | boolean | true | Cards rise in one by one and their artwork plays when the grid scrolls into view. |
disableAnimations | boolean | false | Turns off all motion. Reduced motion settings do the same. |
onItemClick | (item: GlowBentoItem, index: number) => void | None | Called when a card is clicked. Cards become focusable buttons. |
cards | GlowBentoItem[] | None | Our older name for items. Used when items is not set. |
className | string | "" | Extra class names for the grid. |
style | CSSProperties | None | Inline styles for the grid. |