{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Cards with a picture on top and a read link, or with a muted glyph panel on top like an index of categories, in three or four 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/feature-showcase.json\n    Features as cards under a centered heading. Axes: item (picture: a picture on top, then the title, the text and a read link; panel: a muted panel with a large glyph on top, then the title and the text), cols (3, 4), tone.\n    Props (p): id, title, lead, features, empty, more, item, cols, tone, landmarkLabel. *}\n{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_lead = ($p['lead'] ?? '')}\n{var $v_features = ($p['features'] ?? null)}\n{var $v_empty = ($p['empty'] ?? '')}\n{var $v_more = ($p['more'] ?? null)}\n{var $v_item = ($p['item'] ?? 'picture')}\n{var $v_cols = ($p['cols'] ?? '3')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_8}\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_7}\n      {foreach og_l($v_features) as $v_f}\n        {capture $c_6}\n          {if og_t(og_eq($v_item, 'picture'))}\n            {=og_include('blocks/media-frame.latte', ['p' => ['alt' => og_get($v_f, ['title']), 'src' => og_get($v_f, ['image'])]])|noescape}\n          {else}\n            {capture $c_1}\n              {=og_include('icons/LucideIcon.latte', ['name' => og_s(og_get($v_f, ['icon'])), 'size' => 32])|noescape}\n            {/capture}\n            {=og_include('compose/Box.latte', ['class' => 'flex aspect-video items-center justify-center rounded bg-muted text-foreground', 'attrs' => og_attrs(['data-slot', 'showcase-panel']), 'children' => (string) $c_1])|noescape}\n          {/if}\n          {capture $c_5}\n            {capture $c_2}\n              {=og_text(og_get($v_f, ['title']))}\n            {/capture}\n            {=og_include('compose/Title.latte', ['as' => 3, 'size' => 'base', 'weight' => 'semibold', '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' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_3])|noescape}\n            {if og_t(og_eq($v_item, 'picture'))}\n              {capture $c_4}\n                {=og_text($v_more)}\n                {=og_include('icons/LucideIcon.latte', ['name' => 'arrow-right', 'size' => 16])|noescape}\n              {/capture}\n              {=og_include('blocks/menu-entry.latte', ['p' => ['href' => og_get($v_f, ['href']), 'className' => og_cnv(['mt-auto gap-2 pt-2 text-sm font-medium']), 'size' => 'sm', 'testid' => 'read'], 'children' => og_markup($c_4)])|noescape}\n            {/if}\n          {/capture}\n          {=og_include('compose/CardContent.latte', ['class' => 'flex flex-1 flex-col gap-2', 'children' => (string) $c_5])|noescape}\n        {/capture}\n        {=og_include('compose/Card.latte', ['variant' => 'default', 'class' => 'h-full gap-4 overflow-hidden', 'children' => (string) $c_6])|noescape}\n      {/foreach}\n    {/capture}\n    {=og_include('compose/Box.latte', ['class' => og_s((og_t(og_eq($v_cols, '4')) ? 'grid grid-cols-1 gap-6 text-start sm:grid-cols-2 lg:grid-cols-4' : 'grid grid-cols-1 gap-6 text-start sm:grid-cols-2 lg:grid-cols-3')), 'children' => (string) $c_7])|noescape}\n  {/if}\n{/capture}\n{=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'lead' => $v_lead, 'tone' => $v_tone, 'align' => 'center', 'landmarkLabel' => $v_landmarkLabel], 'children' => og_markup($c_8)])|noescape}\n",
      "path": "blocks/feature-showcase.latte",
      "target": "blocks/feature-showcase.latte"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "features",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "feature-showcase",
  "registryDependencies": [
    "box",
    "card",
    "card-content",
    "empty-state",
    "lucide-icon",
    "media-frame",
    "menu-entry",
    "section-frame",
    "text",
    "title",
    "utils"
  ],
  "runtime": "latte",
  "title": "Feature Showcase",
  "type": "registry:block"
}
