You can apply the slider component on
input type="range" elements.
p-slider component allows a user to select from a specified range of values, where the precise value is not considered important.
p-slider__input classes should be used when you want to provide a numeric representation of the slider value, as well as allow the user to specify a value.
To import just this component into your project, copy the snippet below and include it in your main Sass file.
For more information see Customising Vanilla in your projects, which includes overrides and importing instructions.
For more information view the slider design spec, which includes the specification in markdown format and a PNG image.