{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A row of icon-only tabs (a file tree pane: Files, Search, Apps). Put IconTab in it. Arrow keys: attach `moveFocus` from the utils to the keydown of the row (orientation horizontal, activate).",
  "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/patterns/icon-tabs.json\n\npackage blocks\n\nimport (\n\t\"github.com/ui8kit/codegen/generated/templ/ui/box\"\n\t\"github.com/ui8kit/codegen/generated/templ/compose\"\n\tuiutils \"github.com/ui8kit/codegen/generated/templ/orgutils\"\n)\n\n// IconTabsProps are the props of IconTabs; the values are the JSON shapes of the TypeScript props.\ntype IconTabsProps struct {\n\tLabel any `json:\"label\"`\n\tClass string `json:\"className\"`\n}\n\n// A row of icon-only tabs (a file tree pane: Files, Search, Apps). Put IconTab in it. Arrow keys: attach `moveFocus` from the utils to the keydown of the row (orientation horizontal, activate).\ntempl IconTabs(p IconTabsProps) {\n\t{{ vLabel := p.Label }}\n\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(uiutils.Cnv(\"flex items-center gap-2\", p.Class)), Attrs: uiutils.Attrs(\"role\", \"tablist\", \"aria-label\", vLabel, \"data-slot\", \"icon-tabs\")}}) {\n\t\t{ children... }\n\t}\n}\n",
      "path": "blocks/icon-tabs.templ",
      "target": "blocks/icon-tabs.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "icon-tabs",
  "registryDependencies": [
    "box",
    "kit-box",
    "utils"
  ],
  "runtime": "templ",
  "title": "Icon Tabs",
  "type": "registry:component"
}
