{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Many small features as icons with a name: tiles or chips in three to six columns.",
  "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/icon-wall.json\n    A dense grid of small tiles: an icon and a short label. Axes: columns (3, 4, 6), item (tile: icon above the label, chip: icon beside it), tone, density.\n    Props (p): id, title, features, empty, cols, item, tone, density, landmarkLabel. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_features = (p.features ?? null) -%}\n{%- set v_empty = (p.empty ?? '') -%}\n{%- set v_cols = (p.cols ?? '4') -%}\n{%- set v_item = (p.item ?? 'tile') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_density = (p.density ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set v_askedCols = (og_t(og_and([og_eq(v_item, 'chip'), og_eq(v_cols, '6')])) ? '2-6' : (og_t(og_eq(v_cols, '2')) ? '2' : (og_t(og_eq(v_cols, '3')) ? '2-3' : (og_t(og_eq(v_cols, '4')) ? '2-4' : '3-6')))) -%}\n{%- set v_wallCols = og_fit_cols(v_askedCols, og_len(v_features)) -%}\n{%- set c_4 -%}\n  {%- if og_t(og_eq(og_len(v_features), 0)) %}\n    {{ include('blocks/empty-state.html.twig', {'p': {'icon': 'layout-grid', 'title': v_empty}}, with_context = false) }}\n  {%- else %}\n    {%- set c_3 -%}\n      {%- for v_f in og_l(v_features) %}\n        {%- set c_2 -%}\n          {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_f, ['icon'])), 'size': og_i((og_t(og_eq(v_item, 'tile')) ? 24 : 16))}, with_context = false) }}\n          {%- set c_1 -%}\n            {{ og_text(og_get(v_f, ['title'])) }}\n          {%- endset -%}\n          {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_1}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Box.html.twig', {'class': og_s(og_cnv(['flex items-center gap-2', 'rounded bg-card inset-ring inset-ring-border', (og_t(og_eq(v_item, 'tile')) ? og_cnv(['flex-col justify-center text-center', (og_t(og_eq(v_density, 'compact')) ? 'p-4' : 'p-6')]) : 'px-4 py-2')])), 'attrs': og_attrs(['data-slot', 'item']), 'children': c_2}, with_context = false) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/Grid.html.twig', {'cols': og_s(v_wallCols), 'class': 'gap-4', 'attrs': og_attrs(['data-slot', 'items']), 'children': c_3}, with_context = false) }}\n  {%- endif %}\n{%- endset -%}\n{{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'tone': v_tone, 'density': v_density, 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_4)}, with_context = false) }}\n",
      "path": "blocks/icon-wall.html.twig",
      "target": "blocks/icon-wall.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "features",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "icon-wall",
  "registryDependencies": [
    "box",
    "empty-state",
    "grid",
    "lucide-icon",
    "section-frame",
    "text",
    "utils"
  ],
  "runtime": "twig",
  "title": "Icon Wall",
  "type": "registry:block"
}
