{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Numbered or icon steps in a row or a column.",
  "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/steps-list.json\n    How it works: numbered or icon steps in a row or a column. Axes: layout (row, column), marker (number, icon), align, density, tone.\n    Props (p): id, title, steps, empty, layout, marker, align, tone, density, landmarkLabel. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_steps = (p.steps ?? null) -%}\n{%- set v_empty = (p.empty ?? '') -%}\n{%- set v_layout = (p.layout ?? 'row') -%}\n{%- set v_marker = (p.marker ?? 'number') -%}\n{%- set v_align = (p.align ?? 'start') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_density = (p.density ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_8 -%}\n  {%- if og_t(og_eq(og_len(v_steps), 0)) %}\n    {{ include('blocks/empty-state.html.twig', {'p': {'icon': 'list-ordered', 'title': v_empty}}, with_context = false) }}\n  {%- else %}\n    {%- set c_7 -%}\n      {%- for v_step in og_l(v_steps) %}\n        {%- set v_i = loop.index0 -%}\n        {%- set c_6 -%}\n          {%- set c_2 -%}\n            {%- if og_t(og_eq(v_marker, 'icon')) %}\n              {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_step, ['icon'])), 'size': 20}, with_context = false) }}\n            {%- else %}\n              {%- set c_1 -%}\n                {{ og_text(og_str(og_add(v_i, 1))) }}\n              {%- endset -%}\n              {{ include('compose/Inline.html.twig', {'class': 'text-base font-bold', 'children': c_1}, with_context = false) }}\n            {%- endif %}\n          {%- endset -%}\n          {{ include('compose/IconBadge.html.twig', {'variant': 'primary', 'attrs': og_attrs(['data-slot', 'marker']), 'children': c_2}, with_context = false) }}\n          {%- set c_5 -%}\n            {%- set c_3 -%}\n              {{ og_text(og_get(v_step, ['title'])) }}\n            {%- endset -%}\n            {{ include('compose/Title.html.twig', {'as': 3, 'size': 'xl', 'weight': 'bold', 'children': c_3}, with_context = false) }}\n            {%- set c_4 -%}\n              {{ og_text(og_get(v_step, ['text'])) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_4}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Stack.html.twig', {'gap': '2', 'align': og_s((og_t(og_eq(v_align, 'center')) ? 'center' : 'start')), 'children': c_5}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/ListItem.html.twig', {'class': og_s(og_cnv(['flex gap-4', (og_t(og_eq(v_layout, 'row')) ? 'flex-col' : ''), (og_t(og_eq(v_align, 'center')) ? 'items-center text-center' : '')])), 'attrs': og_attrs(['data-slot', 'item']), 'children': c_6}, with_context = false) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/List.html.twig', {'tag': 'ol', 'class': og_s(og_cnv(['grid gap-6', (og_t(og_eq(v_layout, 'row')) ? 'sm:grid-cols-2 md:grid-cols-4' : '')])), 'attrs': og_attrs(['data-slot', 'items']), 'children': c_7}, 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, 'align': v_align, 'measure': (og_t(og_eq(v_layout, 'row')) ? 'default' : '2xl'), 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_8)}, with_context = false) }}\n",
      "path": "blocks/steps-list.html.twig",
      "target": "blocks/steps-list.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "how-it-works",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "steps-list",
  "registryDependencies": [
    "empty-state",
    "icon-badge",
    "inline",
    "list",
    "list-item",
    "lucide-icon",
    "section-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Steps List",
  "type": "registry:block"
}
