{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "feature-grid",
  "type": "registry:item",
  "title": "Feature Grid",
  "description": "What a product does, as a grid of short features: an icon or emoji, a title and a line each. As many columns as fit (`min` wide each). `items` is `[{ title, text, icon? }]`.",
  "dependencies": [
    "@zubra/runtime@^5.13.1"
  ],
  "categories": [
    "section"
  ],
  "registryDependencies": [
    "https://zubra-js.github.io/zubra-ui/r/theme.json"
  ],
  "files": [
    {
      "path": "components/feature-grid.js",
      "type": "registry:file",
      "target": "~/src/components/zubra/feature-grid.js",
      "content": "// Generated by zubra from feature-grid.zb. Do not edit.\nimport { $define, $r, $t } from \"@zubra/runtime\";\n\nexport const tag = \"feature-grid\";\n\nexport default $define(tag, {\n  props: {\n    \"items\": { attribute: \"items\", default: [], required: false },\n    \"heading\": { attribute: \"heading\", default: \"\", required: false },\n    \"min\": { attribute: \"min\", default: \"15rem\", required: false },\n  },\n  abi: 3,\n  shadow: false,\n  form: false,\n  slots: [\"heading\"],\n  events: [],\n  styled: true,\n  styles: \"@layer theme, base, components, utilities;\\n@layer components {\\n@scope (feature-grid) to ([data-zb-slotted=\\\"feature-grid\\\"]) {\\n  :scope { display: block; }\\n  h2 { margin: 0 0 1.25rem; font-size: 1.5rem; letter-spacing: -0.02em; }\\n  ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }\\n  li { display: grid; align-content: start; gap: 0.45rem; padding: 1.2rem; border: 1px solid var(--border, #e4e4e7); border-radius: var(--radius, 0.625rem); background: var(--card, #fff); }\\n  .features-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: calc(var(--radius, 0.625rem) * 0.9); background: color-mix(in oklab, var(--primary, #18181b) 10%, var(--background, #fff)); font-size: 1.2rem; }\\n  h3 { margin: 0.25rem 0 0; font-size: 1rem; }\\n  p { margin: 0; color: color-mix(in oklab, var(--muted-foreground, #71717a) 75%, var(--foreground, #18181b)); }\\n}\\n}\\n\",\n  template: \"\\n  <!--[--><!--]-->\\n  <ul>\\n    <!--[--><!--]-->\\n  </ul>\\n\",\n  setup($p, $emit) {\n    return [\n      { path: [0], when: () => $p.heading, blocks: [{ template: \"<h2><!--[--><!--]--></h2>\", parts: () => [{ path: [0, 0], slot: \"heading\", fallback: { template: \"<!---->\", parts: () => [{ path: [0], anchor: () => $t($p.heading) }] } }] }, null] },\n      { path: [1], style: \"--min\", value: () => $p.min },\n      { path: [1, 0], each: () => $p.items, key: (item, $index) => $r(item).title, block: { template: \"\\n      <li>\\n        <!--[--><!--]-->\\n        <h3></h3>\\n        <p></p>\\n      </li>\\n    \", parts: (item, $index) => [{ path: [0, 0], when: () => $r(item).icon, blocks: [{ template: \"<span class=\\\"features-icon\\\" aria-hidden=\\\"true\\\"></span>\", parts: () => [{ path: [0], text: () => $t($r(item).icon) }] }, null] }, { path: [0, 1], text: () => $t($r(item).title) }, { path: [0, 2], text: () => $t($r(item).text) }] } },\n    ];\n  },\n});\n"
    }
  ]
}
