Range

The range component can be used as an input field to get a number from the user based on your custom selection (ie. from 1 to 100) by using a sliding animation.

Range slider example

Disabled state

Binding value

Use bind:value to bind the range input value as seen the the following examples.

Min and max

Value: 5

Steps

Value: 2.5

Sizes

Unknown attributes

Since we added `...restProps` to input field, you can contain the props which are not declared with export. It will pass down other unknown attributes to an element in a component.