{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The questions of FaqSplit as cards: the topic, the question, the answer and a read-more link; with an icon square on top in the icons shape. Shapes: grid3, grid4, icons (three columns).",
  "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/faq-cards.json\n    The questions of FaqSplit as cards: the topic, the question, the answer and a read-more link; with an icon square on top in the icons shape. Shapes: grid3, grid4, icons (three columns).\n    Props (p): items, labels, cards. -#}\n{%- set v_items = og_def(p['items'], none) -%}\n{%- set v_labels = og_def(p['labels'], none) -%}\n{%- set v_cards = og_def(p['cards'], 'grid3') -%}\n{%- set c_9 -%}\n  {%- for v_q in og_l(v_items) %}\n    {%- set c_8 -%}\n      {%- if og_t(og_eq(v_cards, 'icons')) %}\n        {%- set c_1 -%}\n          {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': og_s(og_get(v_q, ['icon'])), 'Size': 20}}) }}\n        {%- endset -%}\n        {{ og_include('compose/box.html.j2', {'p': {'Class': 'flex size-10 shrink-0 items-center justify-center rounded bg-muted'}, 'children': c_1}) }}\n      {%- endif %}\n      {%- set c_5 -%}\n        {%- set c_2 -%}\n          {{ og_text(og_get(v_q, ['category'])) }}\n        {%- endset -%}\n        {{ og_include('compose/badge.html.j2', {'p': {'Variant': 'secondary', 'Size': 'sm', 'Class': 'w-fit'}, 'children': c_2}) }}\n        {%- set c_3 -%}\n          {{ og_text(og_get(v_q, ['question'])) }}\n        {%- endset -%}\n        {{ og_include('compose/title.html.j2', {'p': {'As': 3, 'Size': 'base', 'Weight': 'semibold'}, 'children': c_3}) }}\n        {%- set c_4 -%}\n          {{ og_text(og_get(v_q, ['answer'])) }}\n        {%- endset -%}\n        {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_4}) }}\n      {%- endset -%}\n      {{ og_include('compose/stack.html.j2', {'p': {'Gap': '2'}, 'children': c_5}) }}\n      {%- set c_7 -%}\n        {%- set c_6 -%}\n          {{ og_text(og_get(v_labels, ['more'])) }}\n          {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'arrow-right', 'Size': 16}}) }}\n        {%- endset -%}\n        {{ og_include('compose/button.html.j2', {'p': {'Variant': 'link', 'Size': 'sm', 'Class': 'gap-2 px-0 font-medium'}, 'children': c_6}) }}\n      {%- endset -%}\n      {{ og_include('compose/box.html.j2', {'p': {'Class': 'mt-auto'}, 'children': c_7}) }}\n    {%- endset -%}\n    {{ og_include('blocks/article-block.html.j2', {'p': {'className': og_cnv(['rounded bg-card inset-ring inset-ring-border flex flex-col gap-4 p-6']), 'testid': 'faq-card'}, 'children': og_markup(c_8)}) }}\n  {%- endfor %}\n{%- endset -%}\n{{ og_include('compose/box.html.j2', {'p': {'Class': og_s(('grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4' if og_t(og_eq(v_cards, 'grid4')) else 'grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3')), 'Attrs': og_attrs(['data-slot', 'faq'])}, 'children': c_9}) }}\n",
      "path": "blocks/faq-cards.html.j2",
      "target": "blocks/faq-cards.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "faq-cards",
  "registryDependencies": [
    "article-block",
    "badge",
    "box",
    "button",
    "lucide-icon",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Faq Cards",
  "type": "registry:component"
}
