滑块
用途
Include CSS
导入 Tailwind 和一个完整的 A3S UI 样式包。
或者仅导入基本 CSS、重新组件 CSS 和一个样式包。
滑块使用 Range 组件 CSS。
使用CDN或批量程序导入?请参见安装页。
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 结构
<input type="range" class="input">- Native range input styled as a slider. Width utilities such as
w-fullcan be added directly.
A3S UI 有意使用间歇范围输入。与 shadcn/ui 的 Base UI 调整不同,它不支持多个拇指或垂直方向。