Docs
Switch

Switch

A control that allows the user to toggle between checked and not checked.

Installation

	npx  shadcn-svelte@next add switch

Usage

	<script lang="ts">
  import { Switch } from "$lib/components/ui/switch/index.js";
</script>
 
<Switch />

Examples

Form