{
  "accessibility" : [
    "The slider is the system's adjustable element: VoiceOver swipes up and down, arrow keys work on macOS and with a keyboard on iPad.",
    "Its accessibility value is the formatted text (\"21.5 °C\", \"60 %\"), not the raw number.",
    "The value shown next to the title uses monospaced digits, so the layout does not jitter while dragging.",
    "When title and value do not fit on one line (large text, long title), the value moves under the title."
  ],
  "category" : "selection",
  "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"
    },
    {
      "id" : "glass-stepper",
      "version" : "1.1.0"
    }
  ],
  "description" : "System slider with bounds, step, a readable value and VoiceOver adjustment.",
  "examples" : [
    {
      "code" : "import SwiftUI\nimport SPGlassKit\n\npublic struct GlassSliderExample: GlassExample {\n    public static let componentID = \"glass-slider\"\n    @State private var brightness = 0.6\n    @State private var temperature = 21.0\n    @State private var budget = 1500.0\n    @State private var locked = 0.3\n    @State private var isDragging = false\n\n    public init() {}\n\n    public var body: some View {\n        ScrollView {\n            VStack(alignment: .leading, spacing: 24) {\n                GlassSlider(\"Brightness\", value: $brightness, format: .percent.precision(.fractionLength(0)))\n\n                GlassSlider(\"Temperature\", value: $temperature, in: 16...28, step: 0.5, showsBoundLabels: true) { value in\n                    Measurement(value: value, unit: UnitTemperature.celsius)\n                        .formatted(.measurement(width: .abbreviated, usage: .asProvided, numberFormatStyle: .number.precision(.fractionLength(1))))\n                }\n\n                GlassSlider(\n                    \"Monthly budget\",\n                    value: $budget,\n                    in: 0...5000,\n                    step: 250,\n                    format: .currency(code: \"CAD\").precision(.fractionLength(0)),\n                    showsBoundLabels: true,\n                    showsTicks: true,\n                    onEditingChanged: { isDragging = $0 }\n                )\n                Text(isDragging ? \"Adjusting…\" : \"Released\")\n                    .font(.caption)\n                    .foregroundStyle(.secondary)\n\n                GlassSlider(\"Locked by policy\", value: $locked)\n                    .disabled(true)\n            }\n            .padding()\n        }\n    }\n}\n\n#Preview(\"GlassSlider\") { GlassSliderExample().glassTheme(.ocean) }\n",
      "title" : "GlassSlider example"
    }
  ],
  "files" : [
    {
      "bytes" : 11088,
      "path" : "Forms/Selection/GlassSlider.swift",
      "sha256" : "6de3bca06a01adeb15a19ee9bc80c86e6f1562af6e8bd51f1d8ee82c0ee304aa"
    }
  ],
  "frameworks" : [

  ],
  "id" : "glass-slider",
  "kind" : "native-wrapper",
  "license" : "MIT",
  "minimumOS" : {
    "iOS" : "26.0",
    "iPadOS" : "26.0",
    "macOS" : "26.0"
  },
  "name" : "GlassSlider",
  "platforms" : [
    "iOS",
    "iPadOS",
    "macOS"
  ],
  "schemaVersion" : 1,
  "sha256" : "52f3a0cd4d8a007d4e495e5d7f38532d201720402982f1c6e13b98ec6360fdea",
  "symbols" : [
    "GlassSliderMath",
    "GlassSlider"
  ],
  "version" : "1.1.0"
}
