svelte-slider

Example with Svelte REPL

<Slider on:change={(event) => console.log(event.detail)} value={[0, 1]} />

<style>
    :root {
      --sliderPrimary: #FF9800;
      --sliderSecondary: rgba(0, 0, 0, 0.05);
    }
</style>

Example without Svelte, vanilla JS

Top categories

Loading Svelte Themes