{
  "$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 = og_def(p['id'], none) -%}\n{%- set v_title = og_def(p['title'], none) -%}\n{%- set v_features = og_def(p['features'], none) -%}\n{%- set v_empty = og_def(p['empty'], '') -%}\n{%- set v_active = og_def(p['active'], '') -%}\n{%- set v_mediaSide = og_def(p['mediaSide'], 'end') -%}\n{%- set v_item = og_def(p['item'], 'plain') -%}\n{%- set v_tone = og_def(p['tone'], 'default') -%}\n{%- set v_density = og_def(p['density'], 'default') -%}\n{%- set v_image = og_def(p['image'], none) -%}\n{%- set v_imageAlt = og_def(p['imageAlt'], none) -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\n{%- set c_7 -%}\n  {%- if og_t(og_eq(og_len(v_features), 0)) %}\n    {{ og_include('blocks/empty-state.html.j2', {'p': {'icon': 'layout-grid', 'title': v_empty}}) }}\n  {%- else %}\n    {%- set c_6 -%}\n      {%- set c_1 -%}\n        {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': (v_imageAlt if og_t(v_imageAlt) else v_title), 'src': v_image, 'ratio': '4/3'}}) }}\n      {%- endset -%}\n      {{ og_include('compose/box.html.j2', {'p': {'Class': og_s(og_cnv(['md:sticky md:top-8', ('md:order-first' if og_t(og_eq(v_mediaSide, 'start')) else 'md:order-last')])), 'Attrs': og_attrs(['data-slot', 'sticky-media'])}, 'children': c_1}) }}\n      {%- set c_5 -%}\n        {%- for v_f in og_l(v_features) %}\n          {%- set c_4 -%}\n            {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': og_s(og_get(v_f, ['icon'])), 'Size': 24}}) }}\n            {%- set c_2 -%}\n              {{ og_text(og_get(v_f, ['title'])) }}\n            {%- endset -%}\n            {{ og_include('compose/title.html.j2', {'p': {'As': 3, 'Size': '2xl', 'Weight': 'bold'}, 'children': c_2}) }}\n            {%- set c_3 -%}\n              {{ og_text(og_get(v_f, ['text'])) }}\n            {%- endset -%}\n            {{ og_include('compose/text.html.j2', {'p': {'Size': 'base', 'Class': 'text-muted-foreground'}, 'children': c_3}) }}\n          {%- endset -%}\n          {{ og_include('compose/stack.html.j2', {'p': {'Gap': '2', 'Class': og_s(og_cnv([('rounded bg-card inset-ring inset-ring-border p-6' if og_t(og_eq(v_item, 'card')) else 'py-4'), ('inset-ring inset-ring-foreground' if og_t(og_eq(og_get(v_f, ['id']), v_active)) else '')])), 'Attrs': og_attrs(['aria-current', ('true' if og_t(og_eq(og_get(v_f, ['id']), v_active)) else none), 'data-slot', 'item'])}, 'children': c_4}) }}\n        {%- endfor %}\n      {%- endset -%}\n      {{ og_include('compose/stack.html.j2', {'p': {'Gap': og_s(('4' if og_t(og_eq(v_density, 'compact')) else '8')), 'Align': 'stretch', 'Attrs': og_attrs(['data-slot', 'items'])}, 'children': c_5}) }}\n    {%- endset -%}\n    {{ og_include('compose/grid.html.j2', {'p': {'Cols': '1-2', 'Class': 'items-start gap-8', 'Attrs': og_attrs(['data-slot', 'sticky'])}, 'children': c_6}) }}\n  {%- endif %}\n{%- endset -%}\n{{ og_include('blocks/section-frame.html.j2', {'p': {'id': v_id, 'title': v_title, 'tone': v_tone, 'density': v_density, 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_7)}) }}\n",
      "path": "blocks/feature-sticky.html.j2",
      "target": "blocks/feature-sticky.html.j2"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "features",
    "kind": "block",
    "tags": [
      "jinja2",
      "block"
    ]
  },
  "name": "feature-sticky",
  "registryDependencies": [
    "box",
    "empty-state",
    "grid",
    "lucide-icon",
    "media-frame",
    "section-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Feature Sticky",
  "type": "registry:block"
}
