# Slider ## Usage Import Tailwind and one full Basecoat style bundle. ```css @import "tailwindcss"; @import "basecoat-css/vega.css"; ``` Or import only the base CSS, Slider component CSS, and one style pack. ```css @import "tailwindcss"; @import "basecoat-css/base.css"; @import "basecoat-css/components/range.css"; @import "basecoat-css/styles/vega.css"; ``` Slider uses the Range component CSS. Using CDN or bundler imports? See the [Installation page](/installation). Copy or serve the full Basecoat JavaScript bundle. ```html ``` Or copy or serve the Basecoat runtime and Slider script. ```html ``` Using CDN or bundler imports? See the [Installation page](/installation). Use a native ``. Include `range.js` so Basecoat can keep the filled track in sync with the input value. ```html ``` ### HTML structure
<input type="range" class="input">
Native range input styled as a slider. Width utilities such as w-full can be added directly.
Basecoat intentionally uses the native range input. Unlike shadcn/ui's Base UI slider, it does not support multiple thumbs or vertical orientation. ## Examples ### Default ### Label
50
### Disabled ### RTL