{
  "$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 { For, type JSX } from \"solid-js\";\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 class=\"grid grid-cols-1 gap-4 sm:grid-cols-2\" data-slot=\"feature-metric-cards\">\n      <For each={stats ?? []}>{(s, iOf) => { const i = iOf(); return (\n        <>\n          {(i < 4) ? (\n            <Group gap=\"4\" align=\"center\" class=\"rounded bg-card inset-ring inset-ring-border p-4\" data-slot=\"feature-stat\">\n              <Inline class=\"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\" class=\"min-w-0\">\n                <Text size=\"lg\" weight=\"bold\">\n                  {s.value}\n                </Text>\n                <Text size=\"xs\" class=\"text-muted-foreground\">\n                  {s.label}\n                </Text>\n                <Text size=\"xs\" class=\"text-muted-foreground\">\n                  {s.hint}\n                </Text>\n              </Stack>\n            </Group>\n          ) : null}\n        </>\n      ); }}</For>\n    </Box>\n  );\n}\n",
      "path": "components/feature-metric-cards.tsx",
      "target": "components/feature-metric-cards.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "solid",
      "component"
    ]
  },
  "name": "feature-metric-cards",
  "registryDependencies": [
    "compose",
    "lucide-icon",
    "stats-band",
    "utils"
  ],
  "runtime": "solid",
  "title": "Feature Metric Cards",
  "type": "registry:component"
}
