Docs
Switch

Switch

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

Loading...

Installation

	npx  shadcn-svelte@latest add switch

Usage

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

Examples

Form

Loading...