A slider is an interactive element for selecting values or ranges by dragging a handle along a track.