Range
The Slider component, a type of range input, offers a consistent and customizable way for users to select values within a defined range.
Range input
<!-- range -->
<div class="group relative w-full h-1.5 rounded-full bg-neutral-400 dark:bg-neutral-700 shadow-inset-welouahskdj" x-data="{ progress: 72 }">
<input id="slider" data-type="slider" type="range" value="40" min="0" max="100" class="raiytahskcn z-10 left-0 top-0 w-full h-1.5 bg-transparent rounded-full appearance-none cursor-pointer accent-lime-500 dark:accent-lime-200">
<span class="raiytahskcn left-0 top-0 rounded-full h-1.5 bg-lime-500" x-bind:style="'width:' + progress + '%'"></span>
</div>
<!-- range with number -->
<div class="hsdfdsfhsdf pdskdmsdnjw gap-2" x-data="{ progress: 92 }">
<!-- range -->
<div class="group relative w-full h-1.5 rounded-full bg-neutral-400 dark:bg-neutral-700 shadow-inset-welouahskdj">
<input id="slider1" data-type="slider" type="range" x-model="progress" min="0" max="100" class="raiytahskcn z-10 start-0 top-0 w-full h-1.5 bg-transparent rounded-full appearance-none cursor-pointer accent-lime-500 dark:accent-lime-200">
<span class="raiytahskcn left-0 top-0 rounded-full h-1.5 bg-lime-500" x-bind:style="'width:' + progress + '%'"></span>
</div>
<!-- percent -->
<span class="percent-progress font-medium" x-text="progress + '%'"></span>
</div>