{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The features as a grid of cards, tiles or bordered cells (the body of FeatureGrid). Icons are Lucide names.",
  "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-cards.json\n    The features as a grid of cards, tiles or bordered cells (the body of FeatureGrid). Icons are Lucide names.\n    Props (p): features, cols, item. -#}\n{%- set v_features = (p.features ?? null) -%}\n{%- set v_cols = (p.cols ?? '1-3') -%}\n{%- set v_item = (p.item ?? 'card') -%}\n{%- set c_15 -%}\n  {%- for v_feature in og_l(v_features) %}\n    {%- if og_t(og_eq(v_item, 'tile')) %}\n      {%- set c_5 -%}\n        {%- set c_4 -%}\n          {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_feature, ['icon'])), 'size': 20}, with_context = false) }}\n          {%- set c_3 -%}\n            {%- set c_1 -%}\n              {{ og_text(og_get(v_feature, ['title'])) }}\n            {%- endset -%}\n            {{ include('compose/Title.html.twig', {'as': 3, 'size': 'base', 'weight': 'bold', 'children': c_1}, with_context = false) }}\n            {%- set c_2 -%}\n              {{ og_text(og_get(v_feature, ['text'])) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_2}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Stack.html.twig', {'gap': '2', 'children': c_3}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Group.html.twig', {'gap': '4', 'align': 'start', 'children': c_4}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Card.html.twig', {'variant': 'compact', 'children': c_5}, with_context = false) }}\n    {%- elseif og_t(og_eq(v_item, 'cell')) %}\n      {%- set c_9 -%}\n        {%- set c_6 -%}\n          {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_feature, ['icon'])), 'size': 24}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/IconBadge.html.twig', {'variant': 'primary', 'size': 'xl', 'attrs': og_attrs(['data-slot', 'feature-icon']), 'children': c_6}, with_context = false) }}\n        {%- set c_7 -%}\n          {{ og_text(og_get(v_feature, ['title'])) }}\n        {%- endset -%}\n        {{ include('compose/Title.html.twig', {'as': 3, 'size': 'xl', 'weight': 'semibold', 'class': 'leading-6', 'children': c_7}, with_context = false) }}\n        {%- set c_8 -%}\n          {{ og_text(og_get(v_feature, ['text'])) }}\n        {%- endset -%}\n        {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'class': 'leading-5 text-muted-foreground', 'children': c_8}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Stack.html.twig', {'gap': '2', 'align': 'center', 'class': 'h-full gap-8 bg-background px-6 py-12 text-center', 'attrs': og_attrs(['data-slot', 'feature-card']), 'children': c_9}, with_context = false) }}\n    {%- else %}\n      {%- set c_14 -%}\n        {%- set c_11 -%}\n          {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_feature, ['icon'])), 'size': 24}, with_context = false) }}\n          {%- set c_10 -%}\n            {{ og_text(og_get(v_feature, ['title'])) }}\n          {%- endset -%}\n          {{ include('compose/CardTitle.html.twig', {'as': 3, 'children': c_10}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/CardHeader.html.twig', {'class': 'flex flex-col gap-4', 'children': c_11}, with_context = false) }}\n        {%- set c_13 -%}\n          {%- set c_12 -%}\n            {{ og_text(og_get(v_feature, ['text'])) }}\n          {%- endset -%}\n          {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_12}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/CardContent.html.twig', {'children': c_13}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Card.html.twig', {'variant': 'default', 'children': c_14}, with_context = false) }}\n    {%- endif %}\n  {%- endfor %}\n{%- endset -%}\n{{ include('compose/Grid.html.twig', {'cols': og_s(v_cols), 'class': og_s((og_t(og_eq(v_item, 'cell')) ? og_cnv(['w-full gap-px overflow-hidden bg-border p-px', og_preset('blocks/presets/defaults.json', ['features', 'cells'])]) : 'gap-6')), 'attrs': og_attrs(['data-slot', 'feature-grid']), 'children': c_15}, with_context = false) }}\n",
      "path": "blocks/feature-cards.html.twig",
      "target": "blocks/feature-cards.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "feature-cards",
  "registryDependencies": [
    "card",
    "card-content",
    "card-header",
    "card-title",
    "grid",
    "group",
    "icon-badge",
    "lucide-icon",
    "presets",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Feature Cards",
  "type": "registry:component"
}
