{
  "$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{var $v_title = ($p['title'] ?? null)}\n{var $v_description = ($p['description'] ?? null)}\n{var $v_id = ($p['id'] ?? null)}\n{capture $c_5}\n  {if og_t(og_or([$v_title, ((($p['actions'] ?? null) !== null))]))}\n    {capture $c_4}\n      {capture $c_3}\n        {if og_t($v_title)}\n          {capture $c_1}\n            {=og_text($v_title)}\n          {/capture}\n          {=og_include('compose/Title.latte', ['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' => (string) $c_1])|noescape}\n        {/if}\n        {if og_t($v_description)}\n          {capture $c_2}\n            {=og_text($v_description)}\n          {/capture}\n          {=og_include('compose/Text.latte', ['class' => 'm-0 text-xs font-medium text-muted-foreground', 'children' => (string) $c_2])|noescape}\n        {/if}\n      {/capture}\n      {=og_include('compose/Box.latte', ['class' => 'flex min-w-0 flex-col gap-2', 'children' => (string) $c_3])|noescape}\n      {=og_slot(($p['actions'] ?? null))|noescape}\n    {/capture}\n    {=og_include('compose/Box.latte', ['class' => 'flex items-start justify-between gap-4', 'children' => (string) $c_4])|noescape}\n  {/if}\n  {=og_slot(($children ?? null))|noescape}\n{/capture}\n{=og_include('compose/Box.latte', ['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' => (string) $c_5])|noescape}\n",
      "path": "blocks/panel.latte",
      "target": "blocks/panel.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "panel",
  "registryDependencies": [
    "box",
    "text",
    "title",
    "utils"
  ],
  "runtime": "latte",
  "title": "Panel",
  "type": "registry:component"
}
