{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Breadcrumb: Box nav > ol > li, Link (href, not disabled) or Text span; aria-current=\"page\" on the current item.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{* Code generated by packages/kit-compose/src/build.ts from src/map.ts + variants/. DO NOT EDIT. *}\n{* Breadcrumb: Box nav > ol > li, Link or Text span. Includes inherit variables: shadowed params are passed explicitly. *}\n{parameters\n  array $items = [],\n  string $ariaLabel = '',\n  string $class = '',\n  array $attrs = [],\n}\n{capture $lis}{foreach $items as $it}{var $c = 'text-sm ' . (($it['current'] ?? false) ? 'font-medium' : (($it['disabled'] ?? false) ? 'text-muted-foreground' : 'text-primary underline-offset-4 hover:underline'))}{var $a = ($it['current'] ?? false) ? ['aria-current' => 'page'] : []}{capture $inner}{if ($it['href'] ?? '') !== '' && !($it['disabled'] ?? false)}{include '../ui/link/Link.latte', href: $it['href'], class: $c, ariaLabel: null, attrs: $a, children: htmlspecialchars((string) ($it['label'] ?? ''), \\ENT_QUOTES)}{else}{include '../ui/text/Text.latte', tag: 'span', class: $c, attrs: $a, children: htmlspecialchars((string) ($it['label'] ?? ''), \\ENT_QUOTES)}{/if}{/capture}{include '../ui/box/Box.latte', tag: 'li', class: 'inline-flex items-center', attrs: [], children: (string) $inner}{/foreach}{/capture}\n{capture $ol}{include '../ui/box/Box.latte', tag: 'ol', class: 'flex flex-wrap items-center gap-2', attrs: [], children: (string) $lis}{/capture}\n{include '../ui/box/Box.latte', tag: 'nav', class: \\CodegenX\\Compose\\Latte\\Compose::join(['text-sm', $class]), attrs: ['aria-label' => $ariaLabel !== '' ? $ariaLabel : 'Breadcrumb', ...$attrs], children: (string) $ol}",
      "path": "compose/Breadcrumb.latte",
      "target": "compose/Breadcrumb.latte"
    }
  ],
  "meta": {
    "category": "primitives",
    "kind": "primitive",
    "tags": [
      "latte",
      "primitive"
    ]
  },
  "name": "breadcrumb",
  "registryDependencies": [
    "kit-box",
    "kit-link",
    "kit-text",
    "recipes",
    "utils"
  ],
  "runtime": "latte",
  "title": "Breadcrumb",
  "type": "registry:ui"
}
