IOS Toggle Button
A sleek iOS-style toggle button with smooth animations and customizable options.
Installation
Usage
import IosToggleButton from '$lib/registry/buttons/ios-toggle-button/ios-toggle-button.svelte'; <IosToggleButton>Toggle Me</IosToggleButton> Props
| Prop | Type | Default | Description |
|---|---|---|---|
| class | string | '' | Additional CSS classes for custom styling |
Note: The component renders a native
<label>+<input type="checkbox">toggle. It does not render slot children.