# Rotate Ccw animated icon

> Free Rotate Ccw animated icon that replays on every click. MIT-licensed for React, shadcn/ui, Lottie JSON and SVG.

Rotate Ccw is a 1.33 s micro animation that replays on every click; use it for refresh and rotate buttons. Click icons typically confirm send, save, refresh, download, add-to-cart and formatting buttons.

## Facts

- Interaction: [Click replay](https://useanimations.com/interactions/click-replay). Replays once from the start on every click unless reduced motion is preferred.
- Category: [Action](https://useanimations.com/categories/action)
- Duration: 1.33 s at 30 fps
- Artboard: 32 × 32 px
- Lottie size: 1.2 kB
- License: MIT, attribution optional ([Licencing & Terms](https://useanimations.com/licencing-and-terms))

## Files

- Lottie JSON: https://useanimations.com/icons/rotate-ccw.json
- Static SVG (rotate-ccw): https://useanimations.com/icons/rotate-ccw/rotate-ccw.svg
- ZIP (Lottie JSON and SVGs): https://useanimations.com/icons/rotate-ccw.zip
- shadcn registry item: https://useanimations.com/r/rotate-ccw.json
- Web page: https://useanimations.com/icons/rotate-ccw

## React

```bash
npm install react-useanimations
```

```jsx
import UseAnimations from 'react-useanimations';
import rotateCcw from 'react-useanimations/lib/rotateCcw';

<UseAnimations animation={rotateCcw} size={32} />
```

## shadcn/ui

```bash
npx shadcn@latest add https://useanimations.com/r/rotate-ccw.json
```

```tsx
import { AnimatedRotateCcw } from '@/components/animations/rotate-ccw';

<AnimatedRotateCcw size={24} />
```

## HTML and lottie-web

```html
<div id="rotate-ccw-icon" style="width: 48px; height: 48px"></div>

<script src="https://cdn.jsdelivr.net/npm/lottie-web@5.13.0/build/player/lottie_light.min.js"></script>
<script>
  const el = document.getElementById('rotate-ccw-icon');
  const a = lottie.loadAnimation({ container: el, renderer: 'svg', loop: false, autoplay: false, path: 'https://useanimations.com/icons/rotate-ccw.json' });
  const motion = matchMedia('(prefers-reduced-motion: reduce)');
  el.addEventListener('click', () => { if (!motion.matches) a.playSegments([0, a.totalFrames], true); });
</script>
```

## FAQ

### What happens if Rotate Ccw is clicked again before it finishes?

No queue: every click restarts the 1.33 s run from the first frame. With reduced motion preferred, clicks still reach your onClick but the icon stays still.

### How do I make Rotate Ccw an accessible button?

Put its events on a real button with the render prop: render={(events, icon) => <button aria-label="Rotate Ccw" {...events}><span {...icon} /></button>}. The animation itself stays aria-hidden.

### Can Rotate Ccw play on hover instead?

Yes: pass interaction="hover-replay". It then plays once on mouseenter unless reduced motion is preferred. Leaving does not stop it; entering during playback does not restart it.

## Related icons

- [Refresh Ccw](https://useanimations.com/icons/refresh-ccw) (click-replay)
- [Rotate Cw](https://useanimations.com/icons/rotate-cw) (click-replay)
- [Filter](https://useanimations.com/icons/filter) (click-replay)
- [Chevron right](https://useanimations.com/icons/chevron-right) (click-replay)
- [Check Circle](https://useanimations.com/icons/check-circle) (click-replay)
- [Minus Square](https://useanimations.com/icons/minus-square) (click-replay)
- [Download](https://useanimations.com/icons/download) (click-replay)
- [Plus Circle](https://useanimations.com/icons/plus-circle) (click-replay)
- [Power](https://useanimations.com/icons/power) (click-replay)
- [Download V2](https://useanimations.com/icons/download-v2) (click-replay)
- [Link](https://useanimations.com/icons/link) (click-replay)
- [Heart V2](https://useanimations.com/icons/heart-v2) (click-replay)

[All action icons](https://useanimations.com/categories/action) · [All icons](https://useanimations.com/icons)
