{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "SheetClose: Button + Lucide icons (data-ui8kit=\"sheet-close\" behaviour).",
  "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\npackage compose\n\nimport (\n\t\"github.com/ui8kit/codegen/generated/templ/ui/button\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/icon\"\n)\n\n// SheetCloseProps: Button + Lucide icons (data-ui8kit=\"sheet-close\").\ntype SheetCloseProps struct {\n\tVariant   string\n\tSize      string\n\tAriaLabel string\n\tbutton.ButtonProps\n}\n\nfunc sheetCloseInner(p SheetCloseProps) button.ButtonProps {\n\tin := p.ButtonProps\n\tin.Type = \"button\"\n\tin.Class = Join(Rc(\"sheettrigger\", map[string]string{\"variant\": p.Variant, \"size\": p.Size}), p.ButtonProps.Class)\n\tfixed := map[string]string{\"data-ui8kit\": \"sheet-close\", \"aria-label\": Or(p.AriaLabel, \"Close menu\")}\n\tin.Attrs = WithAttrs(in.Attrs, fixed)\n\treturn in\n}\n\n// SheetClose renders the button with its Lucide icons.\ntempl SheetClose(p SheetCloseProps) {\n\t@button.Button(sheetCloseInner(p)) {\n\t\t@icon.Icon(icon.IconProps{Class: \"size-5\"}) {\n\t\t\t@templ.Raw(lucideX)\n\t\t}\n\t}\n}\n",
      "path": "compose/sheet-close.templ",
      "target": "compose/sheet-close.templ"
    }
  ],
  "meta": {
    "category": "primitives",
    "kind": "primitive",
    "tags": [
      "templ",
      "primitive"
    ]
  },
  "name": "sheet-close",
  "registryDependencies": [
    "kit-button",
    "kit-icon",
    "recipes",
    "utils"
  ],
  "runtime": "templ",
  "title": "Sheet Close",
  "type": "registry:ui"
}
