Analytics
Track user behavior
Dashboard
Centralized data view
Collaboration
Work together seamlessly
- Install8s
- Build12s
- Test48s
- Deploy9s
Automation
Streamline workflows
Integration
Connect favorite tools
Security
Enterprise-grade protection
More components in Pro
Galleries, cards and interactive pieces for pages that need more than the basics.
items | MagicBentoItem[] | Six feature cards | Cards to show. Each takes label, title, description, icon, image, visual, content, href, onClick, colSpan and rowSpan. |
items[].visual | ReactNode | string | Artwork between the header and the text. Use your own node, or a built-in one: analytics, dashboard, collaboration, automation, integration or security. | |
items[].content | ReactNode | Replaces the whole inside of the card. The lights, border and click wave still apply. | |
items[].image | Photo that fills the card, with a soft shade under the text. | ||
columns | 4 | Columns on wide screens. Drops to 2, then 1, as the grid gets narrower. | |
rowHeight | 200 | Height of one row, in px. | |
gap | 12 | Space between cards, in px. | |
radius | 20 | Corner radius of the cards, in px. | |
theme | 'dark' | 'light' | 'dark' | Color theme of the cards. |
glowColor | Text color | Color of the lights and the accents in the artwork. Takes hex or "r, g, b". | |
enableBorderGlow | Lights up the card edges near the cursor, across neighboring cards too. | ||
enableSpotlight | A soft light follows the cursor inside the hovered card. | ||
spotlightRadius | 300 | Size of the cursor light, in px. | |
enableStars | Fine specks of light drift up around the cursor in the hovered card. | ||
particleCount | 24 | Number of specks in each card. | |
enableTilt | Tilts the hovered card toward the cursor. | ||
enableMagnetism | The hovered card leans a few pixels toward the cursor. | ||
clickEffect | Clicking sends a ring of light across the grid and replays the card artwork. | ||
textAutoHide | Keeps titles to one line and descriptions to two. | ||
| Cards rise in one by one and their artwork plays when the grid scrolls into view. | |||
disableAnimations | Turns off all motion. Reduced motion settings do the same. | ||
onItemClick | (item, index) => void | Called when a card is clicked. Cards become focusable buttons. | |
| Extra class names for the grid. | |||
| Inline styles for the grid. |
itemsMagicBentoItem[]Cards to show. Each takes label, title, description, icon, image, visual, content, href, onClick, colSpan and rowSpan.
Six feature cardsitems[].visualReactNode | stringArtwork between the header and the text. Use your own node, or a built-in one: analytics, dashboard, collaboration, automation, integration or security.
items[].contentReactNodeReplaces the whole inside of the card. The lights, border and click wave still apply.
items[].imagestringPhoto that fills the card, with a soft shade under the text.
columnsnumberColumns on wide screens. Drops to 2, then 1, as the grid gets narrower.
4rowHeightnumberHeight of one row, in px.
200gapnumberSpace between cards, in px.
12radiusnumberCorner radius of the cards, in px.
20theme'dark' | 'light'Color theme of the cards.
'dark'glowColorstringColor of the lights and the accents in the artwork. Takes hex or "r, g, b".
Text colorenableBorderGlowbooleanLights up the card edges near the cursor, across neighboring cards too.
enableSpotlightbooleanA soft light follows the cursor inside the hovered card.
spotlightRadiusnumberSize of the cursor light, in px.
300enableStarsbooleanFine specks of light drift up around the cursor in the hovered card.
particleCountnumberNumber of specks in each card.
24enableTiltbooleanTilts the hovered card toward the cursor.
enableMagnetismbooleanThe hovered card leans a few pixels toward the cursor.
clickEffectbooleanClicking sends a ring of light across the grid and replays the card artwork.
textAutoHidebooleanKeeps titles to one line and descriptions to two.
introbooleanCards rise in one by one and their artwork plays when the grid scrolls into view.
disableAnimationsbooleanTurns off all motion. Reduced motion settings do the same.
onItemClick(item, index) => voidCalled when a card is clicked. Cards become focusable buttons.
Extra class names for the grid.
Inline styles for the grid.
Dependencies
2 required packages
npm install @hugeicons/react @hugeicons/core-free-icons


