{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "bento-grid", "type": "registry:ui", "title": "Bento Grid", "description": "Responsive bento grid layout and card container.", "dependencies": [ "lucide-react" ], "registryDependencies": [], "files": [ { "path": "registry/starkui/bento-grid.tsx", "content": "import * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nexport function BentoGrid({\n className,\n children,\n ...props\n}: React.HTMLAttributes) {\n return (\n \n {children}\n \n );\n}\n\nexport interface BentoCardProps extends React.HTMLAttributes {\n name: string;\n className?: string;\n background?: React.ReactNode;\n icon?: React.ReactNode;\n description: string;\n href?: string;\n cta?: string;\n}\n\nexport function BentoCard({\n name,\n className,\n background,\n icon,\n description,\n href,\n cta = \"Learn more\",\n children,\n ...props\n}: BentoCardProps) {\n return (\n \n
\n \n {background &&
{background}
}\n\n
\n {icon &&
{icon}
}\n

{name}

\n

{description}

\n
\n\n {children &&
{children}
}\n\n {href && (\n
\n {cta}\n \n
\n )}\n
\n );\n}\n", "type": "registry:ui", "target": "components/ui/bento-grid.tsx" } ] }