Installation
- CLI
- Manual
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
A two-state button that can be either on or off.
npx shadcn-svelte@next add toggle
Install bits-ui
npm install bits-ui -D
Copy and paste the component source
<script lang="ts">
import { Toggle } from "$lib/components/ui/toggle/index.js";
</script>
<Toggle>Toggle</Toggle>