Learn more about Mintlify
Enter your email to receive updates about new features and product releases.
An input where the user selects a value from within a given range.
npx shadcn-svelte@next add slider
Install bits-ui
npm install bits-ui -D
Copy and paste the component source
<script lang="ts"> import { Slider } from "$lib/components/ui/slider/index.js"; let value = $state(33); </script>
<Slider type="single" bind:value max={100} step={1} />