Docs
Switch

Switch

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

Installation

	npx shadcn-svelte add switch
	npx shadcn-svelte add switch

Usage

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