Toggle
On/off switch component with animated handle using Framer Motion spring animation. Supports sizes and custom animation configuration.
Import
import { Toggle } from 'reablocks';
Toggle Props
| Prop | Type | Default | Description |
|---|---|---|---|
checked | boolean | — | Whether the toggle is on (required) |
disabled | boolean | — | Disable the toggle |
animated | boolean | true | Enable spring animation |
animation | ` |
[Description truncada. Veja o README completo no GitHub.]