{
  "$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 = (p.items ?? null) -%}\n{%- set v_labels = (p.labels ?? null) -%}\n{%- set v_cards = (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          {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_q, ['icon'])), 'size': 20}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Box.html.twig', {'class': 'flex size-10 shrink-0 items-center justify-center rounded bg-muted', 'children': c_1}, with_context = false) }}\n      {%- endif %}\n      {%- set c_5 -%}\n        {%- set c_2 -%}\n          {{ og_text(og_get(v_q, ['category'])) }}\n        {%- endset -%}\n        {{ include('compose/Badge.html.twig', {'variant': 'secondary', 'size': 'sm', 'class': 'w-fit', 'children': c_2}, with_context = false) }}\n        {%- set c_3 -%}\n          {{ og_text(og_get(v_q, ['question'])) }}\n        {%- endset -%}\n        {{ include('compose/Title.html.twig', {'as': 3, 'size': 'base', 'weight': 'semibold', 'children': c_3}, with_context = false) }}\n        {%- set c_4 -%}\n          {{ og_text(og_get(v_q, ['answer'])) }}\n        {%- endset -%}\n        {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_4}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Stack.html.twig', {'gap': '2', 'children': c_5}, with_context = false) }}\n      {%- set c_7 -%}\n        {%- set c_6 -%}\n          {{ og_text(og_get(v_labels, ['more'])) }}\n          {{ include('icons/LucideIcon.html.twig', {'name': 'arrow-right', 'size': 16}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Button.html.twig', {'variant': 'link', 'size': 'sm', 'class': 'gap-2 px-0 font-medium', 'children': c_6}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Box.html.twig', {'class': 'mt-auto', 'children': c_7}, with_context = false) }}\n    {%- endset -%}\n    {{ include('blocks/article-block.html.twig', {'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)}, with_context = false) }}\n  {%- endfor %}\n{%- endset -%}\n{{ include('compose/Box.html.twig', {'class': og_s((og_t(og_eq(v_cards, 'grid4')) ? 'grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4' : 'grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3')), 'attrs': og_attrs(['data-slot', 'faq']), 'children': c_9}, with_context = false) }}\n",
      "path": "blocks/faq-cards.html.twig",
      "target": "blocks/faq-cards.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "faq-cards",
  "registryDependencies": [
    "article-block",
    "badge",
    "box",
    "button",
    "lucide-icon",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Faq Cards",
  "type": "registry:component"
}
