<divclass="ys-slider"><labelclass="ys-slider__label"><spanclass="ys-slider__label-text">Label for slider</span><spanclass="ys-slider__control-wrapper"><inputclass="ys-slider__control"type="range"min="0"max="100" /></span></label></div>
Slider with data labels
<divclass="ys-slider"><labelclass="ys-slider__label"><spanclass="ys-slider__label-text">Choose bandwidth <spanclass="ys-u-visuallyhidden">(Options are 10, 20, 50, 100 and 500 megabits per second)</span><spanclass="ys-slider__data-set"aria-hidden="true"><spanclass="ys-slider__data-item">10 mbit/s</span><spanclass="ys-slider__data-item">25 mbit/s</span><spanclass="ys-slider__data-item">50 mbit/s</span><spanclass="ys-slider__data-item">100 mbit/s</span><spanclass="ys-slider__data-item">500 mbit/s</span></span><spanclass="ys-slider__control-wrapper"><inputclass="ys-slider__control"type="range"min="1"max="5"step="1" /></span></span></label></div>
Slider with min/max labels
<divclass="ys-slider"><labelclass="ys-slider__label"><spanclass="ys-slider__label-text">Choose data-package <spanclass="ys-u-visuallyhidden">(Options are 10, 20, 30, 40 and 50 gigabyte per month)</span></span><spanclass="ys-slider__wrapper"><spanclass="ys-slider__minmax-label"aria-hidden="true">10 GB</span><spanclass="ys-slider__control-wrapper"><inputclass="ys-slider__control"type="range"min="1"max="5"step="1" /></span><spanclass="ys-slider__minmax-label"aria-hidden="true">50 GB</span></span></label></div>