{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A picture that stays in view beside a list of features. Following the section being read is a port contract (ScrollSpy).",
  "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/feature-sticky.json\n    A picture that stays in view while the feature descriptions scroll beside it. `active` marks the description that is current (the page follows the scroll; that is a port contract). Axes: mediaSide (end, start), item (plain, card), tone, density.\n    Props (p): id, title, features, empty, active, mediaSide, item, tone, density, image, imageAlt, 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_active = (p.active ?? '') -%}\n{%- set v_mediaSide = (p.mediaSide ?? 'end') -%}\n{%- set v_item = (p.item ?? 'plain') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_density = (p.density ?? 'default') -%}\n{%- set v_image = (p.image ?? null) -%}\n{%- set v_imageAlt = (p.imageAlt ?? null) -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_7 -%}\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_6 -%}\n      {%- set c_1 -%}\n        {{ include('blocks/media-frame.html.twig', {'p': {'alt': (og_t(v_imageAlt) ? v_imageAlt : v_title), 'src': v_image, 'ratio': '4/3'}}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Box.html.twig', {'class': og_s(og_cnv(['md:sticky md:top-8', (og_t(og_eq(v_mediaSide, 'start')) ? 'md:order-first' : 'md:order-last')])), 'attrs': og_attrs(['data-slot', 'sticky-media']), 'children': c_1}, with_context = false) }}\n      {%- set c_5 -%}\n        {%- for v_f in og_l(v_features) %}\n          {%- set c_4 -%}\n            {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_f, ['icon'])), 'size': 24}, with_context = false) }}\n            {%- set c_2 -%}\n              {{ og_text(og_get(v_f, ['title'])) }}\n            {%- endset -%}\n            {{ include('compose/Title.html.twig', {'as': 3, 'size': '2xl', 'weight': 'bold', 'children': c_2}, with_context = false) }}\n            {%- set c_3 -%}\n              {{ og_text(og_get(v_f, ['text'])) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'base', 'class': 'text-muted-foreground', 'children': c_3}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Stack.html.twig', {'gap': '2', 'class': og_s(og_cnv([(og_t(og_eq(v_item, 'card')) ? 'rounded bg-card inset-ring inset-ring-border p-6' : 'py-4'), (og_t(og_eq(og_get(v_f, ['id']), v_active)) ? 'inset-ring inset-ring-foreground' : '')])), 'attrs': og_attrs(['aria-current', (og_t(og_eq(og_get(v_f, ['id']), v_active)) ? 'true' : null), 'data-slot', 'item']), 'children': c_4}, with_context = false) }}\n        {%- endfor %}\n      {%- endset -%}\n      {{ include('compose/Stack.html.twig', {'gap': og_s((og_t(og_eq(v_density, 'compact')) ? '4' : '8')), 'align': 'stretch', 'attrs': og_attrs(['data-slot', 'items']), 'children': c_5}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/Grid.html.twig', {'cols': '1-2', 'class': 'items-start gap-8', 'attrs': og_attrs(['data-slot', 'sticky']), 'children': c_6}, 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_7)}, with_context = false) }}\n",
      "path": "blocks/feature-sticky.html.twig",
      "target": "blocks/feature-sticky.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "features",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "feature-sticky",
  "registryDependencies": [
    "box",
    "empty-state",
    "grid",
    "lucide-icon",
    "media-frame",
    "section-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Feature Sticky",
  "type": "registry:block"
}
