{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A display title, one span per word; word i takes weights[i] (from the preset). The words wrap like text.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{#- Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/organisms/weighted-title.json\n    A display title, one span per word; word i takes weights[i] (from the preset). The words wrap like text.\n    Props (p): id, title, weights, level. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_weights = (p.weights ?? null) -%}\n{%- set v_level = (p.level ?? 1) -%}\n{%- set c_2 -%}\n  {%- for v_word in og_l(og_words(v_title)) %}\n    {%- set v_i = loop.index0 -%}\n    {%- set c_1 -%}\n      {{ og_text(v_word) }}\n    {%- endset -%}\n    {{ include('compose/Inline.html.twig', {'class': og_s(og_nth(v_weights, v_i)), 'attrs': og_attrs(['data-slot', 'items-row']), 'children': c_1}, with_context = false) }}\n    {{ og_text(' ') }}\n  {%- endfor %}\n{%- endset -%}\n{{ include('compose/Title.html.twig', {'as': og_i(v_level), 'size': '5xl', 'weight': 'semibold', 'class': og_s(og_cnv(['text-center tracking-tight text-background', og_preset('blocks/presets/defaults.json', ['hero', 'title'])])), 'attrs': og_attrs(['id', v_id, 'data-slot', 'weighted-title']), 'children': c_2}, with_context = false) }}\n",
      "path": "blocks/weighted-title.html.twig",
      "target": "blocks/weighted-title.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "weighted-title",
  "registryDependencies": [
    "inline",
    "presets",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Weighted Title",
  "type": "registry:component"
}
