{
  "accessibility" : [
    "A label is mandatory in the initialiser; a symbol alone is never the accessible name.",
    "The tappable area is at least 44 × 44 points on iOS and iPadOS, and 24 × 24 on macOS, at every size.",
    "The label is also the tooltip on macOS (`.help`).",
    "State must not rely on the symbol colour alone: change the symbol or the label, as in the example."
  ],
  "category" : "buttons",
  "changelog" : [
    {
      "changes" : [
        "Release 1.1.0: see the project changelog."
      ],
      "date" : "2026-12-03",
      "version" : "1.1.0"
    },
    {
      "changes" : [
        "Initial release."
      ],
      "date" : "2026-12-02",
      "version" : "1.0.0"
    }
  ],
  "dependencies" : [
    {
      "id" : "glass-components-support",
      "version" : "1.1.0"
    },
    {
      "id" : "glass-foundation",
      "version" : "1.1.0"
    }
  ],
  "description" : "Symbol-only glass button with a mandatory accessibility label and a full-size hit target.",
  "examples" : [
    {
      "code" : "import SwiftUI\nimport SPGlassKit\n\npublic struct GlassIconButtonExample: GlassExample {\n    public static let componentID = \"glass-icon-button\"\n    @State private var isFavourite = false\n\n    public init() {}\n\n    public var body: some View {\n        HStack(spacing: 16) {\n            GlassIconButton(systemImage: \"square.and.arrow.up\", accessibilityLabel: \"Share\") {}\n            GlassIconButton(\n                systemImage: isFavourite ? \"star.fill\" : \"star\",\n                accessibilityLabel: isFavourite ? \"Remove from favourites\" : \"Add to favourites\",\n                variant: .prominent\n            ) { isFavourite.toggle() }\n            GlassIconButton(systemImage: \"trash\", accessibilityLabel: \"Delete\", role: .destructive, size: .small) {}\n            GlassIconButton(systemImage: \"ellipsis\", accessibilityLabel: \"More\", size: .large) {}\n        }\n        .padding()\n    }\n}\n\n#Preview(\"GlassIconButton\") { GlassIconButtonExample() }\n",
      "title" : "GlassIconButton example"
    }
  ],
  "files" : [
    {
      "bytes" : 4532,
      "path" : "Components/Buttons/GlassIconButton.swift",
      "sha256" : "6f3eea07f59345113894a0e5bc0d897b2ec7225821e43244d1c2e13677672f1d"
    }
  ],
  "frameworks" : [

  ],
  "id" : "glass-icon-button",
  "kind" : "native-wrapper",
  "license" : "MIT",
  "minimumOS" : {
    "iOS" : "26.0",
    "iPadOS" : "26.0",
    "macOS" : "26.0"
  },
  "name" : "GlassIconButton",
  "platforms" : [
    "iOS",
    "iPadOS",
    "macOS"
  ],
  "schemaVersion" : 1,
  "sha256" : "e1ac66e36680dd6863e428f577dc85e10522dcef808f50b7f9b17669cb9517eb",
  "symbols" : [
    "GlassIconButton",
    "GlassIconButtonMetrics"
  ],
  "version" : "1.1.0"
}
