{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ds-bento-features",
  "title": "BentoFeatures",
  "description": "Grid bento misturando tiles de feature com ícone e tiles de estatística — composto de ds-bento-grid e ds-card-stat.",
  "dependencies": [],
  "registryDependencies": [
    "@lema-ds/ds-bento-grid",
    "@lema-ds/ds-card-stat"
  ],
  "files": [
    {
      "path": "components/ds/ds-bento-features.tsx",
      "content": "import * as React from \"react\"\n\nimport { BentoGrid, BentoGridItem, type BentoGridItemSpan } from \"./ds-bento-grid\"\nimport { CardStat } from \"./ds-card-stat\"\n\n// ── Types ──\n\nexport interface BentoFeaturesItem {\n  icon: React.ElementType\n  title: string\n  description?: string\n  colSpan?: BentoGridItemSpan\n  rowSpan?: BentoGridItemSpan\n}\n\nexport interface BentoFeaturesStat {\n  label: string\n  value: string | number\n  colSpan?: BentoGridItemSpan\n}\n\nexport interface BentoFeaturesProps extends React.HTMLAttributes<HTMLDivElement> {\n  features: BentoFeaturesItem[]\n  stats?: BentoFeaturesStat[]\n}\n\n// ── Component ──\n\n/**\n * A bento grid mixing icon-led feature tiles with stat tiles — composed\n * from `BentoGrid`, `BentoGridItem` and `CardStat`.\n */\nexport function BentoFeatures({\n  features,\n  stats = [],\n  className,\n  ...props\n}: BentoFeaturesProps) {\n  return (\n    <BentoGrid className={className} data-slot=\"bento-features\" {...props}>\n      {features.map((feature) => (\n        <BentoGridItem\n          key={feature.title}\n          icon={feature.icon}\n          title={feature.title}\n          description={feature.description}\n          colSpan={feature.colSpan}\n          rowSpan={feature.rowSpan}\n        />\n      ))}\n      {stats.map((stat) => (\n        <BentoGridItem\n          key={stat.label}\n          colSpan={stat.colSpan ?? 1}\n          className=\"border-0 bg-transparent p-0 hover:translate-y-0 hover:shadow-none\"\n        >\n          <CardStat\n            label={stat.label}\n            value={stat.value}\n            variant=\"flat\"\n            className=\"h-full w-full\"\n          />\n        </BentoGridItem>\n      ))}\n    </BentoGrid>\n  )\n}\n",
      "type": "registry:ui"
    }
  ],
  "categories": [
    "bento"
  ],
  "type": "registry:block"
}
