Docs
Toggle

Toggle

A two-state button that can be either on or off.

Loading...

Installation

	npx svell@latest add toggle

Usage

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

Examples

Default

Loading...

Outline

Loading...

With Text

Loading...

Small

Loading...

Large

Loading...

Disabled

Loading...

Built & designed by shadcn. Ported to Svelte by netronk. The source code is available on GitHub.