{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Feature Metric Cards component",
  "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-->\n<script lang=\"ts\">\nimport type { Stat } from \"../blocks/stats-band.types\";\n\nexport type FeatureMetricCardsProps = {\n  stats: Stat[];\n};\n</script>\n\n<script setup lang=\"ts\">\nimport Box from \"../compose/Box.vue\";\nimport Group from \"../compose/Group.vue\";\nimport Inline from \"../compose/Inline.vue\";\nimport LucideIcon from \"../icons/LucideIcon.vue\";\nimport Stack from \"../compose/Stack.vue\";\nimport Text from \"../compose/Text.vue\";\n\nconst { stats } = defineProps<FeatureMetricCardsProps>();\n</script>\n\n<template>\n  <Box class=\"grid grid-cols-1 gap-4 sm:grid-cols-2\" data-slot=\"feature-metric-cards\">\n    <template v-for=\"(s, i) in stats\" :key=\"s.id\">\n      <Group\n        v-if=\"(i < 4)\"\n        gap=\"4\"\n        align=\"center\"\n        class=\"rounded bg-card inset-ring inset-ring-border p-4\"\n        data-slot=\"feature-stat\"\n      >\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    </template>\n  </Box>\n</template>\n",
      "path": "components/feature-metric-cards.vue",
      "target": "components/feature-metric-cards.vue"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "vue",
      "component"
    ]
  },
  "name": "feature-metric-cards",
  "registryDependencies": [
    "box",
    "group",
    "inline",
    "lucide-icon",
    "stack",
    "stats-band",
    "text",
    "utils"
  ],
  "runtime": "vue",
  "title": "Feature Metric Cards",
  "type": "registry:component"
}
