{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A titled card (surface bg-card, hairline ring): the content panel of a page. An optional title, description and header actions. Pass `id` to name the panel by its title. Not a landmark: a labelled group inside the Block of its block (rule 01).",
  "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/parts/panel.json\n    A titled card (surface bg-card, hairline ring): the content panel of a page. An optional title, description and header actions. Pass `id` to name the panel by its title. Not a landmark: a labelled group inside the Block of its block (rule 01).\n    Props (p): title, description, id, className, actions (slot); children: markup. -#}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_description = (p.description ?? null) -%}\n{%- set v_id = (p.id ?? null) -%}\n{%- set c_5 -%}\n  {%- if og_t(og_or([v_title, ((p.actions ?? null) is not null)])) %}\n    {%- set c_4 -%}\n      {%- set c_3 -%}\n        {%- if og_t(v_title) %}\n          {%- set c_1 -%}\n            {{ og_text(v_title) }}\n          {%- endset -%}\n          {{ include('compose/Title.html.twig', {'as': 2, 'size': 'base', 'class': 'm-0 text-foreground', 'attrs': og_attrs(['id', (og_t(v_id) ? og_tpl('{0}-t', [v_id]) : null)]), 'children': c_1}, with_context = false) }}\n        {%- endif %}\n        {%- if og_t(v_description) %}\n          {%- set c_2 -%}\n            {{ og_text(v_description) }}\n          {%- endset -%}\n          {{ include('compose/Text.html.twig', {'class': 'm-0 text-xs font-medium text-muted-foreground', 'children': c_2}, with_context = false) }}\n        {%- endif %}\n      {%- endset -%}\n      {{ include('compose/Box.html.twig', {'class': 'flex min-w-0 flex-col gap-2', 'children': c_3}, with_context = false) }}\n      {{ og_slot((p.actions ?? null))|raw }}\n    {%- endset -%}\n    {{ include('compose/Box.html.twig', {'class': 'flex items-start justify-between gap-4', 'children': c_4}, with_context = false) }}\n  {%- endif %}\n  {{ og_slot((children ?? null))|raw }}\n{%- endset -%}\n{{ include('compose/Box.html.twig', {'class': og_s(og_cnv(['flex min-w-0 flex-col gap-4 rounded bg-card p-6 inset-ring inset-ring-border', (p.className ?? '')])), 'attrs': og_attrs(['role', 'group', 'aria-labelledby', (og_t(og_and([v_title, v_id])) ? og_tpl('{0}-t', [v_id]) : null)]), 'children': c_5}, with_context = false) }}\n",
      "path": "blocks/panel.html.twig",
      "target": "blocks/panel.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "panel",
  "registryDependencies": [
    "box",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Panel",
  "type": "registry:component"
}
