{
  "$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{var $v_items = ($p['items'] ?? null)}\n{var $v_labels = ($p['labels'] ?? null)}\n{var $v_cards = ($p['cards'] ?? 'grid3')}\n{capture $c_9}\n  {foreach og_l($v_items) as $v_q}\n    {capture $c_8}\n      {if og_t(og_eq($v_cards, 'icons'))}\n        {capture $c_1}\n          {=og_include('icons/LucideIcon.latte', ['name' => og_s(og_get($v_q, ['icon'])), 'size' => 20])|noescape}\n        {/capture}\n        {=og_include('compose/Box.latte', ['class' => 'flex size-10 shrink-0 items-center justify-center rounded bg-muted', 'children' => (string) $c_1])|noescape}\n      {/if}\n      {capture $c_5}\n        {capture $c_2}\n          {=og_text(og_get($v_q, ['category']))}\n        {/capture}\n        {=og_include('compose/Badge.latte', ['variant' => 'secondary', 'size' => 'sm', 'class' => 'w-fit', 'children' => (string) $c_2])|noescape}\n        {capture $c_3}\n          {=og_text(og_get($v_q, ['question']))}\n        {/capture}\n        {=og_include('compose/Title.latte', ['as' => 3, 'size' => 'base', 'weight' => 'semibold', 'children' => (string) $c_3])|noescape}\n        {capture $c_4}\n          {=og_text(og_get($v_q, ['answer']))}\n        {/capture}\n        {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_4])|noescape}\n      {/capture}\n      {=og_include('compose/Stack.latte', ['gap' => '2', 'children' => (string) $c_5])|noescape}\n      {capture $c_7}\n        {capture $c_6}\n          {=og_text(og_get($v_labels, ['more']))}\n          {=og_include('icons/LucideIcon.latte', ['name' => 'arrow-right', 'size' => 16])|noescape}\n        {/capture}\n        {=og_include('compose/Button.latte', ['variant' => 'link', 'size' => 'sm', 'class' => 'gap-2 px-0 font-medium', 'children' => (string) $c_6])|noescape}\n      {/capture}\n      {=og_include('compose/Box.latte', ['class' => 'mt-auto', 'children' => (string) $c_7])|noescape}\n    {/capture}\n    {=og_include('blocks/article-block.latte', ['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)])|noescape}\n  {/foreach}\n{/capture}\n{=og_include('compose/Box.latte', ['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' => (string) $c_9])|noescape}\n",
      "path": "blocks/faq-cards.latte",
      "target": "blocks/faq-cards.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "faq-cards",
  "registryDependencies": [
    "article-block",
    "badge",
    "box",
    "button",
    "lucide-icon",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "latte",
  "title": "Faq Cards",
  "type": "registry:component"
}
