<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/slider",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Slider"
}
-->

# Slider

Display a range of values from which the user selects a single value.

## Topics

### View

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

A display of a bar representing a continuous range of numerical values and a knob representing the currently selected value.

### Cell

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

The appearance and behavior of an [`NSSlider`](/documentation/AppKit/NSSlider) object.

### Accessories

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

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

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



---

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)