{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Weighted Title component",
  "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<!-- A display title, one span per word; word i takes weights[i] (from the preset). The words wrap like text. -->\n<script lang=\"ts\">\nexport type WeightedTitleProps = {\n  id: string;\n  title: string;\n  weights?: readonly string[];\n  level?: 1 | 2;\n};\n</script>\n\n<script setup lang=\"ts\">\nimport Inline from \"../compose/Inline.vue\";\nimport Title from \"../compose/Title.vue\";\nimport { defaults } from \"../presets/defaults\";\nimport { cn } from \"../utils\";\n\nconst { id, title, weights, level = 1 } = defineProps<WeightedTitleProps>();\n</script>\n\n<template>\n  <Title\n    :as=\"level\"\n    size=\"5xl\"\n    weight=\"semibold\"\n    :class=\"cn('text-center tracking-tight text-background', defaults.hero.title)\"\n    :id=\"id\"\n    data-slot=\"weighted-title\"\n  >\n    <template v-for=\"(word, i) in (title ?? '').split(' ')\" :key=\"i\">\n      <Inline :class=\"weights?.[i]\" data-slot=\"items-row\">\n        {{ word }}\n      </Inline>\n      {{ \" \" }}\n    </template>\n  </Title>\n</template>\n",
      "path": "components/weighted-title.vue",
      "target": "components/weighted-title.vue"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "vue",
      "component"
    ]
  },
  "name": "weighted-title",
  "registryDependencies": [
    "inline",
    "presets",
    "title",
    "utils"
  ],
  "runtime": "vue",
  "title": "Weighted Title",
  "type": "registry:component"
}
