{
  "$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{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_features = ($p['features'] ?? null)}\n{var $v_empty = ($p['empty'] ?? '')}\n{var $v_active = ($p['active'] ?? '')}\n{var $v_mediaSide = ($p['mediaSide'] ?? 'end')}\n{var $v_item = ($p['item'] ?? 'plain')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_density = ($p['density'] ?? 'default')}\n{var $v_image = ($p['image'] ?? null)}\n{var $v_imageAlt = ($p['imageAlt'] ?? null)}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_7}\n  {if og_t(og_eq(og_len($v_features), 0))}\n    {=og_include('blocks/empty-state.latte', ['p' => ['icon' => 'layout-grid', 'title' => $v_empty]])|noescape}\n  {else}\n    {capture $c_6}\n      {capture $c_1}\n        {=og_include('blocks/media-frame.latte', ['p' => ['alt' => (og_t($v_imageAlt) ? $v_imageAlt : $v_title), 'src' => $v_image, 'ratio' => '4/3']])|noescape}\n      {/capture}\n      {=og_include('compose/Box.latte', ['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' => (string) $c_1])|noescape}\n      {capture $c_5}\n        {foreach og_l($v_features) as $v_f}\n          {capture $c_4}\n            {=og_include('icons/LucideIcon.latte', ['name' => og_s(og_get($v_f, ['icon'])), 'size' => 24])|noescape}\n            {capture $c_2}\n              {=og_text(og_get($v_f, ['title']))}\n            {/capture}\n            {=og_include('compose/Title.latte', ['as' => 3, 'size' => '2xl', 'weight' => 'bold', 'children' => (string) $c_2])|noescape}\n            {capture $c_3}\n              {=og_text(og_get($v_f, ['text']))}\n            {/capture}\n            {=og_include('compose/Text.latte', ['size' => 'base', 'class' => 'text-muted-foreground', 'children' => (string) $c_3])|noescape}\n          {/capture}\n          {=og_include('compose/Stack.latte', ['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' => (string) $c_4])|noescape}\n        {/foreach}\n      {/capture}\n      {=og_include('compose/Stack.latte', ['gap' => og_s((og_t(og_eq($v_density, 'compact')) ? '4' : '8')), 'align' => 'stretch', 'attrs' => og_attrs(['data-slot', 'items']), 'children' => (string) $c_5])|noescape}\n    {/capture}\n    {=og_include('compose/Grid.latte', ['cols' => '1-2', 'class' => 'items-start gap-8', 'attrs' => og_attrs(['data-slot', 'sticky']), 'children' => (string) $c_6])|noescape}\n  {/if}\n{/capture}\n{=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'tone' => $v_tone, 'density' => $v_density, 'landmarkLabel' => $v_landmarkLabel], 'children' => og_markup($c_7)])|noescape}\n",
      "path": "blocks/feature-sticky.latte",
      "target": "blocks/feature-sticky.latte"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "features",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "feature-sticky",
  "registryDependencies": [
    "box",
    "empty-state",
    "grid",
    "lucide-icon",
    "media-frame",
    "section-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "latte",
  "title": "Feature Sticky",
  "type": "registry:block"
}
