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

# NSSliderAccessory

```
@MainActor class NSSliderAccessory
```

## Topics

### Type Aliases

[`Width`](/documentation/AppKit/NSSliderAccessory/Width)

### Initializers

[`+  accessoryWithImage:`](/documentation/AppKit/NSSliderAccessory/init(image:))

### Instance Properties

[`behavior`](/documentation/AppKit/NSSliderAccessory/behavior)

The effect on interaction with the accessory.

[`enabled`](/documentation/AppKit/NSSliderAccessory/isEnabled)

Determines whether or not the accessory is interactive and draws with an enabled appearance. Defaults to `true`.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`NSAccessibilityElementProtocol`](/documentation/AppKit/NSAccessibilityElementProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSAccessibilityProtocol`](/documentation/AppKit/NSAccessibilityProtocol)

[`Copyable`](/documentation/Swift/Copyable)

[`Escapable`](/documentation/Swift/Escapable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)