{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "logo-cloud",
  "type": "registry:item",
  "title": "Logo Cloud",
  "description": "\"Trusted by\": a row of logos, muted so they don't shout, coming to full colour on hover. Each logo's alt text is its name; with `href` it's a link. `items` is `[{ name, src, href? }]`.",
  "dependencies": [
    "@zubra/runtime@^5.13.1"
  ],
  "categories": [
    "section"
  ],
  "registryDependencies": [
    "https://zubra-js.github.io/zubra-ui/r/theme.json"
  ],
  "files": [
    {
      "path": "components/logo-cloud.js",
      "type": "registry:file",
      "target": "~/src/components/zubra/logo-cloud.js",
      "content": "// Generated by zubra from logo-cloud.zb. Do not edit.\nimport { $define, $r, $t } from \"@zubra/runtime\";\n\nexport const tag = \"logo-cloud\";\n\nexport default $define(tag, {\n  props: {\n    \"items\": { attribute: \"items\", default: [], required: false },\n    \"heading\": { attribute: \"heading\", default: \"\", required: false },\n    \"height\": { attribute: \"height\", default: \"2rem\", required: false },\n  },\n  abi: 3,\n  shadow: false,\n  form: false,\n  slots: [],\n  events: [],\n  styled: true,\n  styles: \"@layer theme, base, components, utilities;\\n@layer components {\\n@scope (logo-cloud) to ([data-zb-slotted=\\\"logo-cloud\\\"]) {\\n  :scope { display: block; }\\n  p { margin: 0 0 1.25rem; text-align: center; font-size: 0.85rem; font-weight: 600; color: color-mix(in oklab, var(--muted-foreground, #71717a) 75%, var(--foreground, #18181b)); }\\n  ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 2.5rem; margin: 0; padding: 0; list-style: none; }\\n  img { display: block; height: var(--height); width: auto; filter: grayscale(1); opacity: 0.7; transition: filter var(--duration-normal, 200ms), opacity var(--duration-normal, 200ms); }\\n  a:hover img, img:hover { filter: none; opacity: 1; }\\n  a { display: block; border-radius: 0.25rem; color: inherit; text-decoration: none; }\\n  .logos-word { display: block; font-size: calc(var(--height) * 0.62); font-weight: 800; letter-spacing: -0.03em; line-height: var(--height); color: color-mix(in oklab, var(--muted-foreground, #71717a) 80%, var(--foreground, #18181b)); transition: color var(--duration-normal, 200ms); }\\n  a:hover .logos-word { color: var(--foreground, #18181b); }\\n  a:focus-visible { outline: 2px solid var(--ring, #a1a1aa); outline-offset: 4px; }\\n  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; } }\\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: \"<p></p>\", parts: () => [{ path: [0], text: () => $t($p.heading) }] }, null] },\n      { path: [1], style: \"--height\", value: () => $p.height },\n      { path: [1, 0], each: () => $p.items, key: (item, $index) => $r(item).name, block: { template: \"\\n      <li>\\n        <!--[--><!--]-->\\n      </li>\\n    \", parts: (item, $index) => [{ path: [0, 0], when: () => $r(item).href, blocks: [{ template: \"<a><!--[--><!--]--></a>\", parts: () => [{ path: [0], attribute: \"href\", url: true, value: () => $r(item).href }, { path: [0, 0], when: () => $r(item).src, blocks: [{ template: \"<img loading=\\\"lazy\\\">\", parts: () => [{ path: [0], attribute: \"src\", url: true, value: () => $r(item).src }, { path: [0], attribute: \"alt\", value: () => $r(item).name }] }, { template: \"<span class=\\\"logos-word\\\"></span>\", parts: () => [{ path: [0], text: () => $t($r(item).name) }] }] }] }, { template: \"<!--[--><!--]-->\", parts: () => [{ path: [0], when: () => $r(item).src, blocks: [{ template: \"<img loading=\\\"lazy\\\">\", parts: () => [{ path: [0], attribute: \"src\", url: true, value: () => $r(item).src }, { path: [0], attribute: \"alt\", value: () => $r(item).name }] }, { template: \"<span class=\\\"logos-word\\\"></span>\", parts: () => [{ path: [0], text: () => $t($r(item).name) }] }] }] }] }] } },\n    ];\n  },\n});\n"
    }
  ]
}
