# Slider95

A continuous or stepped value control with a classic track and thumb.

Slider95 keeps SwiftUI value binding and accessibility adjustment while drawing a Windows 95-inspired control.

![Slider95 minimum, maximum, and zero-length range states](/images/slider95-macos.png)

The three boundary states rendered by the snippet below.

## Use it

```swift
import Swift95
import SwiftUI

struct Slider95Example: View {
  var body: some View {
    VStack(alignment: .leading, spacing: 16) {
      Slider95(value: .constant(0.0), in: 0...1) {
        Text("Minimum")
      }
      Slider95(value: .constant(1.0), in: 0...1) {
        Text("Maximum")
      }
      Slider95(value: .constant(0.0), in: 0...0) {
        Text("Zero-length range")
      }
    }
  }
}
```

## Essential behavior

**Values**Supports BinaryFloatingPoint bindings, ranges, and optional steps.

**Accessibility**Exposes adjustable semantics through the embedded native slider.

**State**The track, thumb, label, and disabled treatment use [Theme95](/components/theme/) tokens.

## Related

- [ProgressView95](/components/progress-view/)
- [ValueFormatters95](/components/value-formatters/)
- [Metrics95](/components/metrics/)

[Open the complete Slider95 API reference →](/api/documentation/swift95/slider95)
