{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Four figures of FeatureSplit as small cards in two columns: a glyph tile, the value with its hint and the label.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n/**\n * Four figures of FeatureSplit as small cards in two columns: a glyph tile, the value with its hint and the\n * label.\n */\nimport { Fragment, type ReactNode } from \"react\";\nimport { Box, Group, Inline, Stack, Text } from \"../compose\";\nimport { LucideIcon } from \"../icons/LucideIcon\";\nimport type { Stat } from \"../blocks/stats-band.types\";\n\nexport type FeatureMetricCardsProps = {\n  stats: Stat[];\n};\n\nexport function FeatureMetricCards({ stats }: FeatureMetricCardsProps) {\n  return (\n    <Box className=\"grid grid-cols-1 gap-4 sm:grid-cols-2\" data-slot=\"feature-metric-cards\">\n      {(stats ?? []).map((s, i) => (\n        <Fragment key={s.id}>\n          {(i < 4) ? (\n            <Group\n              gap=\"4\"\n              align=\"center\"\n              className=\"rounded bg-card inset-ring inset-ring-border p-4\"\n              data-slot=\"feature-stat\"\n            >\n              <Inline className=\"flex size-10 shrink-0 items-center justify-center rounded bg-muted text-foreground\">\n                <LucideIcon name={s.icon} size={20} />\n              </Inline>\n              <Stack gap=\"0\" className=\"min-w-0\">\n                <Text size=\"lg\" weight=\"bold\">\n                  {s.value}\n                </Text>\n                <Text size=\"xs\" className=\"text-muted-foreground\">\n                  {s.label}\n                </Text>\n                <Text size=\"xs\" className=\"text-muted-foreground\">\n                  {s.hint}\n                </Text>\n              </Stack>\n            </Group>\n          ) : null}\n        </Fragment>\n      ))}\n    </Box>\n  );\n}\n",
      "path": "components/feature-metric-cards.tsx",
      "target": "components/feature-metric-cards.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "feature-metric-cards",
  "registryDependencies": [
    "compose",
    "lucide-icon",
    "stats-band",
    "utils"
  ],
  "runtime": "react",
  "title": "Feature Metric Cards",
  "type": "registry:component"
}
