# X animated icon

X 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
- File: icons/x-icon.tsx
- License: Apache-2.0
- Keywords: x, close, cancel, exit, dismiss, remove

## Install

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

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

## Related icons

- [Letter X](https://www.itshover.com/icons/letter-x-icon)
- [Logout](https://www.itshover.com/icons/logout-icon)
- [Plug Connected X](https://www.itshover.com/icons/plug-connected-x-icon)
- [Trash](https://www.itshover.com/icons/trash-icon)
- [Twitter X](https://www.itshover.com/icons/twitter-x-icon)

