{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "stack-layout",
  "type": "registry:item",
  "title": "Stack Layout",
  "description": "Children one above the other with the same `gap` between them: the vertical rhythm of a page, a form or a card.",
  "dependencies": [
    "@zubra/runtime@^5.13.1"
  ],
  "categories": [
    "layout"
  ],
  "registryDependencies": [
    "https://zubra-js.github.io/zubra-ui/r/theme.json"
  ],
  "files": [
    {
      "path": "components/stack-layout.js",
      "type": "registry:file",
      "target": "~/src/components/zubra/stack-layout.js",
      "content": "// Generated by zubra from stack-layout.zb. Do not edit.\nimport { $define, $r, $t } from \"@zubra/runtime\";\n\nexport const tag = \"stack-layout\";\n\nexport default $define(tag, {\n  props: {\n    \"gap\": { attribute: \"gap\", default: \"1rem\", required: false },\n  },\n  abi: 3,\n  shadow: false,\n  form: false,\n  slots: [\"default\"],\n  events: [],\n  styled: true,\n  styles: \"@layer theme, base, components, utilities;\\n@layer components {\\n@scope (stack-layout) to ([data-zb-slotted=\\\"stack-layout\\\"]) {\\n  :scope { display: block; }\\n  .stack { display: flex; flex-direction: column; gap: var(--gap); }\\n}\\n}\\n\",\n  template: \"\\n  <div class=\\\"stack\\\"><!--[--><!--]--></div>\\n\",\n  setup($p, $emit) {\n    return [\n      { path: [0], style: \"--gap\", value: () => $p.gap },\n      { path: [0, 0], slot: \"default\", fallback: null },\n    ];\n  },\n});\n"
    }
  ]
}
