shadcn-svelte for Svelte 5 has been released! - Visit the preview docs

Docs
Slider

Slider

An input where the user selects a value from within a given range.

Loading...

Installation

	npx  shadcn-svelte@latest add slider

Usage

	<script lang="ts">
  import { Slider } from "$lib/components/ui/slider";
</script>
 
<Slider value={[33]} max={100} step={1} />