{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "One or two calls to action side by side: a filled primary button and an outline secondary one. Links, not handlers: the page decides what they open.",
  "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/patterns/action-group.json\n    One or two calls to action side by side: a filled primary button and an outline secondary one. Links, not handlers: the page decides what they open.\n    Props (p): primary, primaryHref, secondary, secondaryHref, align. -#}\n{%- set v_primary = (p.primary ?? null) -%}\n{%- set v_primaryHref = (p.primaryHref ?? null) -%}\n{%- set v_secondary = (p.secondary ?? null) -%}\n{%- set v_secondaryHref = (p.secondaryHref ?? null) -%}\n{%- set v_align = (p.align ?? 'start') -%}\n{%- set c_3 -%}\n  {%- set c_1 -%}\n    {{ og_text(v_primary) }}\n  {%- endset -%}\n  {{ include('compose/Button.html.twig', {'variant': 'default', 'size': 'default', 'href': og_url(og_s(v_primaryHref)), 'children': c_1}, with_context = false) }}\n  {%- if og_t(v_secondary) %}\n    {%- set c_2 -%}\n      {{ og_text(v_secondary) }}\n    {%- endset -%}\n    {{ include('compose/Button.html.twig', {'variant': 'outline', 'size': 'default', 'href': og_url(og_s(v_secondaryHref)), 'children': c_2}, with_context = false) }}\n  {%- endif %}\n{%- endset -%}\n{{ include('compose/Group.html.twig', {'gap': '4', 'align': 'center', 'justify': og_s((og_t(og_eq(v_align, 'center')) ? 'center' : 'start')), 'class': 'flex-wrap', 'attrs': og_attrs(['data-slot', 'action-group']), 'children': c_3}, with_context = false) }}\n",
      "path": "blocks/action-group.html.twig",
      "target": "blocks/action-group.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "action-group",
  "registryDependencies": [
    "button",
    "group",
    "utils"
  ],
  "runtime": "twig",
  "title": "Action Group",
  "type": "registry:component"
}
