Bento Grid
kokonut-ui/bento-gridFreeComponent
Grid of 4 cards with different content and animations.
Live preview
live · rendered by the registry
Rendered by kokonut-ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://kokonutui.com/r/bento-grid.jsonSource
1"use client";23/**4 * @author: @dorianbaffier5 * @description: Bento Grid6 * @version: 1.0.07 * @date: 2025-06-268 * @license: MIT9 * @website: https://kokonutui.com10 * @github: https://github.com/kokonut-labs/kokonutui11 */1213import {14 ArrowUpRight,15 CheckCircle2,16 Clock,17 Mic,18 Plus,19 Sparkles,20 Zap,21} from "lucide-react";22import {23 motion,24 useMotionValue,25 useTransform,26 type Variants,27} from "motion/react";28import Link from "next/link";29import { useEffect, useRef, useState } from "react";30import Anthropic from "@/components/icons/anthropic";31import AnthropicDark from "@/components/icons/anthropic-dark";32import DeepSeek from "@/components/icons/deepseek";33import Google from "@/components/icons/gemini";34import MistralAI from "@/components/icons/mistral";35import OpenAI from "@/components/icons/open-ai";36import OpenAIDark from "@/components/icons/open-ai-dark";37import { cn } from "@/lib/utils";3839interface BentoItem {40 id: string;41 title: string;42 description: string;43 icons?: boolean;44 href?: string;45 feature?:46 | "chart"47 | "counter"48 | "code"49 | "timeline"50 | "spotlight"51 | "icons"52 | "typing"53 | "metrics";54 spotlightItems?: string[];55 timeline?: Array<{ year: string; event: string }>;56 code?: string;57 codeLang?: string;58 typingText?: string;59 metrics?: Array<{60 label: string;61 value: number;62 suffix?: string;63 color?: string;64 }>;65 statistic?: {66 value: string;67 label: string;68 start?: number;69 end?: number;70 suffix?: string;71 };72 size?: "sm" | "md" | "lg";73 className?: string;74}7576const bentoItems: BentoItem[] = [77 {78 id: "main",79 title: "Building tomorrow's technology",80 description:81 "We architect and develop enterprise-grade applications that scale seamlessly with cloud-native technologies and microservices.",82 href: "#",83 feature: "spotlight",84 spotlightItems: [85 "Microservices architecture",86 "Serverless computing",87 "Container orchestration",88 "API-first design",89 "Event-driven systems",90 ],91 size: "lg",92 className: "col-span-2 row-span-1 md:col-span-2 md:row-span-1",93 },94 {95 id: "stat1",96 title: "AI Agents & Automation",97 description:98 "Intelligent agents that learn, adapt, and automate complex workflows",99 href: "#",100 feature: "typing",101 typingText:102// … truncated
What it pulls in
npm packages
Files it writes
More from kokonut-ui
All 40 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Action Search Baraction-search-bar | kokonut-ui | Components | Free | 2 deps · 2 files | |
| AI Input Searchai-input-search | kokonut-ui | Components | Free | 1 dep · 2 files | |
| AI State Loadingai-loading | kokonut-ui | Components | Free | 1 dep | |
| AI Input Selectorai-prompt | kokonut-ui | Components | Free | 2 deps · 4 files | |
| AI Text Loadingai-text-loading | kokonut-ui | Components | Free | 1 dep | |
| AI Voiceai-voice | kokonut-ui | Components | Free | 2 deps | |
| Apple Activity Cardapple-activity-card | kokonut-ui | Components | Free | 1 dep | |
| Magnet Buttonattract-button | kokonut-ui | Components | Free | 2 deps |
