{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Customers and partners as glyphs with names.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n\nexport type Logo = {\n  id: string;\n  name: string;\n  icon: string;\n};\n",
      "path": "blocks/logo-cloud.types.ts",
      "target": "blocks/logo-cloud.types.ts"
    },
    {
      "content": "<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->\n<!--\n  A heading and the names of customers or partners as Lucide glyphs with a name. Axes: layout (grid, row),\n  columns (2, 3, 4), item (name, icon only, tile), density, tone.\n-->\n<script lang=\"ts\">\nimport type { Logo } from \"./logo-cloud.types\";\n\nexport type LogoCloudProps = {\n  id: string;\n  title: string;\n  logos: Logo[];\n  empty?: string;\n  layout?: \"grid\" | \"row\";\n  cols?: \"2\" | \"3\" | \"4\";\n  item?: \"name\" | \"icon\" | \"tile\";\n  tone?: \"default\" | \"muted\";\n  density?: \"roomy\" | \"default\" | \"compact\";\n  landmarkLabel?: string;\n};\n</script>\n\n<script setup lang=\"ts\">\nimport Grid from \"../compose/Grid.vue\";\nimport Group from \"../compose/Group.vue\";\nimport LucideIcon from \"../icons/LucideIcon.vue\";\nimport Text from \"../compose/Text.vue\";\nimport EmptyState from \"../components/empty-state.vue\";\nimport LogoRibbon from \"../blocks/logo-ribbon.vue\";\nimport SectionFrame from \"../components/section-frame.vue\";\nimport { cn } from \"../utils\";\n\nconst {\n  id,\n  title,\n  logos,\n  empty = \"\",\n  layout = \"grid\",\n  cols = \"4\",\n  item = \"name\",\n  tone = \"default\",\n  density = \"default\",\n  landmarkLabel,\n} = defineProps<LogoCloudProps>();\n</script>\n\n<template>\n  <SectionFrame v-if=\"((logos?.length ?? 0) === 0)\"\n    :id=\"id\"\n    :title=\"title\"\n    :tone=\"tone\"\n    :density=\"density\"\n    align=\"center\"\n    :landmarkLabel=\"landmarkLabel\"\n  >\n    <EmptyState icon=\"building-2\" :title=\"empty\" />\n  </SectionFrame>\n  <LogoRibbon v-else-if=\"((layout as string) === 'row')\"\n    :id=\"id\"\n    :title=\"title\"\n    :logos=\"logos\"\n    :tone=\"tone\"\n    :density=\"density\"\n    :landmarkLabel=\"landmarkLabel\"\n  />\n  <SectionFrame v-else\n    :id=\"id\"\n    :title=\"title\"\n    :tone=\"tone\"\n    :density=\"density\"\n    align=\"center\"\n    :landmarkLabel=\"landmarkLabel\"\n  >\n    <Grid\n      :cols=\"\n        (cols as string) === '2' ? '2'\n        : (cols as string) === '3' ? '2-3'\n        : (cols as string) === '4' ? '2-4'\n        : '3-6'\n      \"\n      class=\"gap-4\"\n      data-slot=\"items\"\n    >\n      <Group v-for=\"logo in logos\" :key=\"logo.id\"\n        gap=\"2\"\n        align=\"center\"\n        justify=\"center\"\n        :class=\"cn(\n          'text-muted-foreground',\n          (((item as string) === 'tile') ? 'flex-col rounded p-4 inset-ring inset-ring-border' : '')\n        )\"\n        data-slot=\"item\"\n      >\n        <LucideIcon :name=\"logo.icon\" :size=\"24\" />\n        <Text size=\"sm\" weight=\"semibold\" :class=\"(((item as string) === 'icon') ? 'sr-only' : '')\">\n          {{ logo.name }}\n        </Text>\n      </Group>\n    </Grid>\n  </SectionFrame>\n</template>\n",
      "path": "blocks/logo-cloud.vue",
      "target": "blocks/logo-cloud.vue"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "proof",
    "kind": "block",
    "tags": [
      "vue",
      "block"
    ]
  },
  "name": "logo-cloud",
  "registryDependencies": [
    "empty-state",
    "grid",
    "group",
    "logo-ribbon",
    "lucide-icon",
    "section-frame",
    "text",
    "utils"
  ],
  "runtime": "vue",
  "title": "Logo Cloud",
  "type": "registry:block"
}
