Bento Grid
Bento Grid with Background Hover.
Live
Analytics Dashboardv2.4.1
Real-time metrics with AI-powered insights and predictive analytics
#Statistics#Reports#AI
Explore →Updated
Task Manager84 completed
Automated workflow management with priority scheduling
#Productivity#Automation
Explore →Active
Media Library12GB used
Cloud storage with intelligent content processing
#Storage#CDN
Explore →Beta
Global Network6 regions
Multi-region deployment with edge computing
#Infrastructure#Edge
Explore →Motion
lucide-react
Installation
npm install lucide-reactUsage
import BentoGrid from "@/components/xui/bento-grid";
import { TrendingUp, CheckCircle, Video, Globe } from "lucide-react";
const items = [
{
title: "Analytics Dashboard",
meta: "v2.4.1",
description: "Real-time metrics with AI-powered insights",
icon: <TrendingUp className="w-4 h-4 text-blue-500" />,
status: "Live",
tags: ["Statistics", "Reports", "AI"],
colSpan: 2,
hasPersistentHover: true,
},
{
title: "Task Manager",
meta: "84 completed",
description: "Automated workflow management",
icon: <CheckCircle className="w-4 h-4 text-emerald-500" />,
status: "Updated",
tags: ["Productivity", "Automation"],
},
];
export function MyComponent() {
return <BentoGrid items={items} />;
}Props
| Prop | Type | Default | Description |
|---|---|---|---|
items | BentoItem[] | itemsSample | Array of bento grid items |
BentoItem Interface
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | - | Item title |
description | string | - | Item description |
icon | ReactNode | - | Icon component |
status | string | - | Status text |
tags | string[] | - | Array of tags |
meta | string | - | Meta information |
cta | string | - | Call to action text |
colSpan | number | 1 | Column span (1 or 2) |
hasPersistentHover | boolean | false | Whether hover effect is persistent |
Dependencies
This component requires the following packages:
lucide-react