{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Two figures of FeatureSplit as cards, then three features as checked rows.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n// Source: packages/compose-gen/specs/organisms/feature-stat-rows.json\n\npackage blocks\n\nimport (\n\t\"github.com/ui8kit/codegen/generated/templ/ui/box\"\n\t\"github.com/ui8kit/codegen/generated/templ/compose\"\n\t\"github.com/ui8kit/codegen/generated/templ/icons\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/text\"\n\tuiutils \"github.com/ui8kit/codegen/generated/templ/orgutils\"\n)\n\n// FeatureStatRowsProps are the props of FeatureStatRows; the values are the JSON shapes of the TypeScript props.\ntype FeatureStatRowsProps struct {\n\tFeatures any `json:\"features\"`\n\tStats any `json:\"stats\"`\n}\n\n// Two figures of FeatureSplit as cards, then three features as checked rows.\ntempl FeatureStatRows(p FeatureStatRowsProps) {\n\t{{ vFeatures := p.Features }}\n\t{{ vStats := p.Stats }}\n\t@compose.Stack(compose.StackProps{Gap: \"6\", Align: \"stretch\", BoxProps: box.BoxProps{Attrs: uiutils.Attrs(\"data-slot\", \"feature-stat-rows\")}}) {\n\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: \"grid grid-cols-2 gap-4\"}}) {\n\t\t\tfor vI, vS := range uiutils.L(vStats) {\n\t\t\t\tif uiutils.Lt(float64(vI), float64(2)) {\n\t\t\t\t\t@compose.Stack(compose.StackProps{Gap: \"0\", BoxProps: box.BoxProps{Class: \"rounded bg-card inset-ring inset-ring-border p-4\", Attrs: uiutils.Attrs(\"data-slot\", \"feature-stat\")}}) {\n\t\t\t\t\t\t@compose.Text(compose.TextProps{Size: \"2xl\", Weight: \"bold\", TextProps: text.TextProps{}}) {\n\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vS, \"value\")) }\n\t\t\t\t\t\t}\n\t\t\t\t\t\t@compose.Text(compose.TextProps{Size: \"xs\", TextProps: text.TextProps{Class: \"text-muted-foreground\"}}) {\n\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vS, \"label\")) }\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t@compose.Stack(compose.StackProps{Gap: \"4\", Align: \"stretch\", BoxProps: box.BoxProps{}}) {\n\t\t\tfor vI, vF := range uiutils.L(vFeatures) {\n\t\t\t\tif uiutils.Lt(float64(vI), float64(3)) {\n\t\t\t\t\t@compose.Group(compose.GroupProps{Gap: \"4\", Align: \"start\", BoxProps: box.BoxProps{Attrs: uiutils.Attrs(\"data-slot\", \"feature-item\")}}) {\n\t\t\t\t\t\t@compose.Inline(compose.InlineProps{TextProps: text.TextProps{Class: \"flex size-6 shrink-0 items-center justify-center rounded bg-primary text-primary-foreground\"}}) {\n\t\t\t\t\t\t\t@icons.LucideIcon(icons.LucideIconProps{Name: \"check\", Size: 16})\n\t\t\t\t\t\t}\n\t\t\t\t\t\t@compose.Stack(compose.StackProps{Gap: \"2\", BoxProps: box.BoxProps{Class: \"min-w-0\"}}) {\n\t\t\t\t\t\t\t@compose.Title(compose.TitleProps{As: \"3\", Size: \"sm\", Weight: \"semibold\", TextProps: text.TextProps{}}) {\n\t\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vF, \"title\")) }\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t@compose.Text(compose.TextProps{Size: \"sm\", TextProps: text.TextProps{Class: \"text-muted-foreground\"}}) {\n\t\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vF, \"text\")) }\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n",
      "path": "blocks/feature-stat-rows.templ",
      "target": "blocks/feature-stat-rows.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "feature-stat-rows",
  "registryDependencies": [
    "box",
    "group",
    "inline",
    "kit-box",
    "kit-text",
    "lucide-icon",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "templ",
  "title": "Feature Stat Rows",
  "type": "registry:component"
}
