{
  "accessibility" : [
    "The group is an accessibility container; give it a label so VoiceOver announces what the buttons have in common.",
    "Each button keeps its own label, traits and hit target.",
    "With Reduce Transparency the container is a plain stack and the buttons use the system's opaque treatment."
  ],
  "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-foundation",
      "version" : "1.1.0"
    }
  ],
  "description" : "Related glass buttons rendered in one glass container so that they blend consistently.",
  "examples" : [
    {
      "code" : "import SwiftUI\nimport SPGlassKit\n\npublic struct GlassButtonGroupExample: GlassExample {\n    public static let componentID = \"glass-button-group\"\n    @State private var styles: Set<String> = []\n\n    public init() {}\n\n    public var body: some View {\n        VStack(spacing: 24) {\n            GlassButtonGroup(accessibilityLabel: \"Text style\") {\n                ForEach([\"bold\", \"italic\", \"underline\"], id: \\.self) { style in\n                    GlassIconButton(\n                        systemImage: style,\n                        label: Text(style.capitalized),\n                        variant: styles.contains(style) ? .prominent : .regular\n                    ) {\n                        styles.formSymmetricDifference([style])\n                    }\n                }\n            }\n            GlassButtonGroup(axis: .vertical, spacing: .sm, accessibilityLabel: \"Zoom\") {\n                GlassIconButton(systemImage: \"plus\", accessibilityLabel: \"Zoom in\") {}\n                GlassIconButton(systemImage: \"minus\", accessibilityLabel: \"Zoom out\") {}\n            }\n        }\n        .padding()\n    }\n}\n\n#Preview(\"GlassButtonGroup\") { GlassButtonGroupExample() }\n",
      "title" : "GlassButtonGroup example"
    }
  ],
  "files" : [
    {
      "bytes" : 3481,
      "path" : "Components/Buttons/GlassButtonGroup.swift",
      "sha256" : "cba371feea9736c23629e2d50a2de320e0416ac76b8a173c850d16690d1f554f"
    }
  ],
  "frameworks" : [

  ],
  "id" : "glass-button-group",
  "kind" : "custom-glass",
  "license" : "MIT",
  "minimumOS" : {
    "iOS" : "26.0",
    "iPadOS" : "26.0",
    "macOS" : "26.0"
  },
  "name" : "GlassButtonGroup",
  "platforms" : [
    "iOS",
    "iPadOS",
    "macOS"
  ],
  "schemaVersion" : 1,
  "sha256" : "5b963b26f1579fad5fc98ca105a5189e87f41b75f60a6b92c5b965b7b5e14bf0",
  "symbols" : [
    "GlassButtonGroup"
  ],
  "version" : "1.1.0"
}
