Slider
Usage
Include CSS
Import Tailwind and one full A3S UI style bundle.
Or import only the base CSS, Slider component CSS, and one style pack.
Slider uses the Range component CSS.
Using CDN or bundler imports? See the Installation page.
Include JavaScript
Copy or serve the full A3S UI JavaScript bundle.
Or copy or serve the A3S UI runtime and Slider script.
Using CDN or bundler imports? See the Installation page.
Add your slider HTML
Use a native <input type="range" class="input">. Include range.js so A3S UI can keep the filled track in sync with the input value.
HTML structure
<input type="range" class="input">- Native range input styled as a slider. Width utilities such as
w-fullcan be added directly.
A3S UI intentionally uses the native range input. Unlike shadcn/ui's Base UI slider, it does not support multiple thumbs or vertical orientation.