{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The features as a grid of cards, tiles or bordered cells (the body of FeatureGrid). Icons are Lucide names.",
  "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-cards.json\n    The features as a grid of cards, tiles or bordered cells (the body of FeatureGrid). Icons are Lucide names.\n    Props (p): features, cols, item. *}\n{var $v_features = ($p['features'] ?? null)}\n{var $v_cols = ($p['cols'] ?? '1-3')}\n{var $v_item = ($p['item'] ?? 'card')}\n{capture $c_15}\n  {foreach og_l($v_features) as $v_feature}\n    {if og_t(og_eq($v_item, 'tile'))}\n      {capture $c_5}\n        {capture $c_4}\n          {=og_include('icons/LucideIcon.latte', ['name' => og_s(og_get($v_feature, ['icon'])), 'size' => 20])|noescape}\n          {capture $c_3}\n            {capture $c_1}\n              {=og_text(og_get($v_feature, ['title']))}\n            {/capture}\n            {=og_include('compose/Title.latte', ['as' => 3, 'size' => 'base', 'weight' => 'bold', 'children' => (string) $c_1])|noescape}\n            {capture $c_2}\n              {=og_text(og_get($v_feature, ['text']))}\n            {/capture}\n            {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_2])|noescape}\n          {/capture}\n          {=og_include('compose/Stack.latte', ['gap' => '2', 'children' => (string) $c_3])|noescape}\n        {/capture}\n        {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'start', 'children' => (string) $c_4])|noescape}\n      {/capture}\n      {=og_include('compose/Card.latte', ['variant' => 'compact', 'children' => (string) $c_5])|noescape}\n    {elseif og_t(og_eq($v_item, 'cell'))}\n      {capture $c_9}\n        {capture $c_6}\n          {=og_include('icons/LucideIcon.latte', ['name' => og_s(og_get($v_feature, ['icon'])), 'size' => 24])|noescape}\n        {/capture}\n        {=og_include('compose/IconBadge.latte', ['variant' => 'primary', 'size' => 'xl', 'attrs' => og_attrs(['data-slot', 'feature-icon']), 'children' => (string) $c_6])|noescape}\n        {capture $c_7}\n          {=og_text(og_get($v_feature, ['title']))}\n        {/capture}\n        {=og_include('compose/Title.latte', ['as' => 3, 'size' => 'xl', 'weight' => 'semibold', 'class' => 'leading-6', 'children' => (string) $c_7])|noescape}\n        {capture $c_8}\n          {=og_text(og_get($v_feature, ['text']))}\n        {/capture}\n        {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'class' => 'leading-5 text-muted-foreground', 'children' => (string) $c_8])|noescape}\n      {/capture}\n      {=og_include('compose/Stack.latte', ['gap' => '2', 'align' => 'center', 'class' => 'h-full gap-8 bg-background px-6 py-12 text-center', 'attrs' => og_attrs(['data-slot', 'feature-card']), 'children' => (string) $c_9])|noescape}\n    {else}\n      {capture $c_14}\n        {capture $c_11}\n          {=og_include('icons/LucideIcon.latte', ['name' => og_s(og_get($v_feature, ['icon'])), 'size' => 24])|noescape}\n          {capture $c_10}\n            {=og_text(og_get($v_feature, ['title']))}\n          {/capture}\n          {=og_include('compose/CardTitle.latte', ['as' => 3, 'children' => (string) $c_10])|noescape}\n        {/capture}\n        {=og_include('compose/CardHeader.latte', ['class' => 'flex flex-col gap-4', 'children' => (string) $c_11])|noescape}\n        {capture $c_13}\n          {capture $c_12}\n            {=og_text(og_get($v_feature, ['text']))}\n          {/capture}\n          {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_12])|noescape}\n        {/capture}\n        {=og_include('compose/CardContent.latte', ['children' => (string) $c_13])|noescape}\n      {/capture}\n      {=og_include('compose/Card.latte', ['variant' => 'default', 'children' => (string) $c_14])|noescape}\n    {/if}\n  {/foreach}\n{/capture}\n{=og_include('compose/Grid.latte', ['cols' => og_s($v_cols), 'class' => og_s((og_t(og_eq($v_item, 'cell')) ? og_cnv(['w-full gap-px overflow-hidden bg-border p-px', og_preset('blocks/presets/defaults.json', ['features', 'cells'])]) : 'gap-6')), 'attrs' => og_attrs(['data-slot', 'feature-grid']), 'children' => (string) $c_15])|noescape}\n",
      "path": "blocks/feature-cards.latte",
      "target": "blocks/feature-cards.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "feature-cards",
  "registryDependencies": [
    "card",
    "card-content",
    "card-header",
    "card-title",
    "grid",
    "group",
    "icon-badge",
    "lucide-icon",
    "presets",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "latte",
  "title": "Feature Cards",
  "type": "registry:component"
}
