<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSliderTouchBarItem/valueAccessoryWidth",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSSliderTouchBarItem(py)valueAccessoryWidth"
  },
  "title" : "valueAccessoryWidth"
}
-->

# valueAccessoryWidth

The width of the value accessories that appear at either end of the slider.

```
var valueAccessoryWidth: NSSliderAccessory.Width { get set }
```

## Discussion

You can provide your own custom width, or use the system-provided [`default`](/documentation/AppKit/NSSliderAccessory/Width/default) or [`wide`](/documentation/AppKit/NSSliderAccessory/Width/wide) options.

The default value is [`default`](/documentation/AppKit/NSSliderAccessory/Width/default).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)