# Toggle animated icon

Toggle is a free animated React icon from Its Hover, built with Motion. It animates on hover and can be triggered from code with startAnimation() and stopAnimation().

## At a glance

- Dependency: motion
- Props: size, color, strokeWidth, className
- Custom props: shakeOnClick, dangerHover, keepOpenOnDelete
- File: icons/toggle-icon.tsx
- License: Apache-2.0
- Keywords: toggle, switch, on, off

## Install

```bash
npx shadcn@latest add https://itshover.com/r/toggle-icon.json
```

Manual: install `motion`, copy `icons/toggle-icon.tsx` from https://github.com/itshover/itshover.

## Related icons

- [Bell Off](https://www.itshover.com/icons/bell-off-icon)
- [Camera Off](https://www.itshover.com/icons/camera-off-icon)
- [Copy Off](https://www.itshover.com/icons/copy-off-icon)
- [Eye Off](https://www.itshover.com/icons/eye-off-icon)
- [Wifi Off](https://www.itshover.com/icons/wifi-off-icon)

