{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "bento-grid-1",
  "type": "registry:block",
  "title": "Bento Grid 1",
  "description": "Bento grid of product capabilities with chart, metric, key and integration tiles.",
  "files": [
    {
      "path": "app/preview/bento-grid/one/page.tsx",
      "content": "import { Activity, Globe2, KeyRound, Layers, Sparkles, Zap } from 'lucide-react'\nimport { cn } from '@/lib/utils'\n\nfunction Tile({ className, children }: { className?: string; children: React.ReactNode }) {\n    return <div className={cn('bg-card group relative isolate overflow-hidden rounded-2xl border p-6 transition-shadow hover:shadow-lg hover:shadow-black/5', className)}>{children}</div>\n}\n\nfunction TileText({ icon: Icon, title, body }: { icon: React.ElementType; title: string; body: string }) {\n    return (\n        <div className=\"relative z-10\">\n            <Icon className=\"text-muted-foreground size-5\" />\n            <h3 className=\"mt-4 font-semibold\">{title}</h3>\n            <p className=\"text-muted-foreground mt-1.5 max-w-xs text-sm\">{body}</p>\n        </div>\n    )\n}\n\nconst bars = [38, 52, 44, 70, 58, 82, 64, 90, 76, 96]\n\nexport default function BentoGrid() {\n    return (\n        <section className=\"py-16 md:py-24\">\n            <div className=\"mx-auto max-w-6xl px-6\">\n                <div className=\"mx-auto max-w-2xl text-center\">\n                    <h2 className=\"text-balance text-4xl font-semibold lg:text-5xl\">Everything in one place</h2>\n                    <p className=\"text-muted-foreground mt-4\">The tools your team reaches for every day, designed to work together from the first click.</p>\n                </div>\n\n                <div className=\"mt-14 grid auto-rows-[minmax(14rem,auto)] gap-4 md:grid-cols-6\">\n                    {/* Analytics: wide tile with a bar chart */}\n                    <Tile className=\"md:col-span-4\">\n                        <TileText\n                            icon={Activity}\n                            title=\"Real-time analytics\"\n                            body=\"Watch traffic, conversions and errors update the moment they happen.\"\n                        />\n                        <div\n                            aria-hidden\n                            className=\"absolute inset-x-6 bottom-0 flex h-28 items-end gap-2\">\n                            {bars.map((h, i) => (\n                                <span\n                                    key={i}\n                                    style={{ height: `${h}%` }}\n                                    className=\"bg-foreground/10 group-hover:bg-foreground/20 flex-1 rounded-t-md transition-colors duration-300 last:bg-foreground/80\"\n                                />\n                            ))}\n                        </div>\n                    </Tile>\n\n                    {/* Speed: big number */}\n                    <Tile className=\"flex flex-col justify-between md:col-span-2\">\n                        <TileText\n                            icon={Zap}\n                            title=\"Fast by default\"\n                            body=\"Edge-cached on every request.\"\n                        />\n                        <p className=\"relative z-10 text-5xl font-semibold tracking-tight\">\n                            42<span className=\"text-muted-foreground text-2xl\">ms</span>\n                        </p>\n                    </Tile>\n\n                    {/* Global: dotted globe */}\n                    <Tile className=\"md:col-span-2\">\n                        <TileText\n                            icon={Globe2}\n                            title=\"Global regions\"\n                            body=\"Deploy close to your users in 30+ regions.\"\n                        />\n                        <div\n                            aria-hidden\n                            className=\"absolute -bottom-24 -right-16 size-64 rounded-full border bg-[radial-gradient(var(--color-border)_1.5px,transparent_1.5px)] [background-size:12px_12px] transition-transform duration-700 group-hover:rotate-12\"\n                        />\n                    </Tile>\n\n                    {/* Security: key list */}\n                    <Tile className=\"md:col-span-2\">\n                        <TileText\n                            icon={KeyRound}\n                            title=\"Secure access\"\n                            body=\"SSO, SCIM and fine-grained API keys.\"\n                        />\n                        <ul\n                            aria-hidden\n                            className=\"relative z-10 mt-5 space-y-2 font-mono text-xs\">\n                            {['sk_live_••••4f2a', 'sk_test_••••91bc'].map((k) => (\n                                <li\n                                    key={k}\n                                    className=\"bg-muted/60 flex items-center justify-between rounded-md border px-3 py-2\">\n                                    {k}\n                                    <span className=\"size-1.5 rounded-full bg-emerald-500\" />\n                                </li>\n                            ))}\n                        </ul>\n                    </Tile>\n\n                    {/* AI */}\n                    <Tile className=\"md:col-span-2\">\n                        <TileText\n                            icon={Sparkles}\n                            title=\"AI assist\"\n                            body=\"Draft copy, summarise feedback and fix errors in place.\"\n                        />\n                        <div\n                            aria-hidden\n                            className=\"bg-muted/60 relative z-10 mt-5 rounded-lg border p-3 text-xs\">\n                            <span className=\"text-muted-foreground\">Summarise this week’s feedback</span>\n                            <span className=\"bg-foreground ml-0.5 inline-block h-3.5 w-px align-middle motion-safe:animate-pulse\" />\n                        </div>\n                    </Tile>\n\n                    {/* Integrations: full width */}\n                    <Tile className=\"flex flex-col gap-6 md:col-span-6 md:flex-row md:items-center md:justify-between\">\n                        <TileText\n                            icon={Layers}\n                            title=\"Plays well with your stack\"\n                            body=\"Connect GitHub, Slack, Linear, Stripe and 80+ other tools in a couple of clicks.\"\n                        />\n                        <ul\n                            aria-hidden\n                            className=\"relative z-10 flex flex-wrap gap-2\">\n                            {['GitHub', 'Slack', 'Linear', 'Stripe', 'Notion', 'Figma'].map((name) => (\n                                <li\n                                    key={name}\n                                    className=\"bg-background rounded-full border px-3.5 py-1.5 text-sm\">\n                                    {name}\n                                </li>\n                            ))}\n                        </ul>\n                    </Tile>\n                </div>\n            </div>\n        </section>\n    )\n}\n",
      "type": "registry:component",
      "target": "components/bento-grid-1.tsx"
    }
  ]
}