

Every state


default


focus


filled


empty


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "home-price" | Id prefix for the label and the count. |
| nameMin | string | "priceMin" | Form name of the low value. |
| nameMax | string | "priceMax" | Form name of the high value. |
| label | string | "Asking price" | Visible label. |
| min | number | 100000 | Lowest value. |
| max | number | 900000 | Highest value. |
| step | number | 10000 | Step of the thumbs. |
| buckets | number[] | 20 example counts | How many items fall in each equal-width bucket from min to max. |
| defaultValue | [number, number] | [100000, 900000] | Starting low and high value. |
| currency | string | "EUR" | ISO currency code for the compact amounts. |
| locale | string | "en-IE" | Locale for formatting. |
| noun | string | "homes" | What is counted, plural. |
| nounOne | string | "home" | What is counted, singular. |
| disabled | boolean | – | Disables the thumbs. |
| onChange | (value: [number, number], count: number) => void | – | Called with the new pair and the count inside it. |
| className | string | – | Extra classes on the outer group. |
More range sliders
All 5range-slider-01 is in UI ProGet UI Pro, €199


