Tailwind CSS Range - NiraUI
Range Slider component in NiraUI provides an interactive way for users to select numeric values within a range.
It is perfect for volume controls, price filters, progress adjustments, and form inputs. Built with utility classes, it’s lightweight, responsive, and fully customizable.
Default Range Slider
A simple example of a range input:
Range Slider Colors
Easily apply different color styles to range sliders for better UI consistency.
Min and Max Values
Range inputs have implicit values for min and max—0 and 100, respectively. You may specify new values for those using the min and max attributes.
Steps in Range Slider
By default, range inputs “snap” to integer values. To change this, you can specify a step value. In the example below, we double the number of steps by using step="0.5".
Disabled Range Slider
Disable the range component when the slider should be read-only or unavailable.