Sliders
SliderControl · RangeSliderControlLet users pick a number or a range by dragging or with the arrow keys.
Overview
SliderControl is a Blazor slider that lets users pick a number between a minimum and a maximum by dragging a thumb. Use it for prices, distances or quantities where the range matters more than the exact figure; RangeSliderControl picks a lower and an upper bound, such as a budget band, with two labeled sliders that return one NumericRange. Both are built on the native range input, so the arrow keys work as the browser intends.
Examples
#Slider
Drag the fuel surcharge and the number of pallets: ValueChanged fires while dragging, so the shipping cost updates live. The first slider hides its value with ShowValue="false" and the page formats it; the 8.25% tax rate is set by the carrier contract, so it is Disabled.
SHP-0456 by road freight: base rate $480 + 12.5% fuel surcharge = $540, or $270 per pallet