Swipe Settings Toggle Row
A production-scale, light + dark Swipe Settings Toggle Row component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add swipe-settings-toggle-rowLive preview available in the gallery.
Usage
import { SwipeSettingsToggleRow } from "@lerpa/ui";
<SwipeSettingsToggleRow />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| id | string | - | |
| label | string | - | |
| initialValue | boolean | — | |
| onToggle | (id: string, value: boolean) => void | — | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.