# Edit 3 animated icon

> Edit 3 animated icon with a click replay interaction for React and shadcn/ui. Download the Lottie JSON or SVG, free under MIT.

The Edit 3 animated icon replays on every click in 1.33 s, a good fit for text formatting buttons in editors. Click icons typically confirm send, save, refresh, download, add-to-cart and formatting buttons. Also known as pencil, write and rename.

## 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: 2.6 kB
- License: MIT, attribution optional ([Licencing & Terms](https://useanimations.com/licencing-and-terms))

## Files

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

## React

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

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

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

## shadcn/ui

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

```tsx
import { AnimatedEdit3 } from '@/components/animations/edit-3';

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

## HTML and lottie-web

```html
<div id="edit-3-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('edit-3-icon');
  const a = lottie.loadAnimation({ container: el, renderer: 'svg', loop: false, autoplay: false, path: 'https://useanimations.com/icons/edit-3.json' });
  const motion = matchMedia('(prefers-reduced-motion: reduce)');
  el.addEventListener('click', () => { if (!motion.matches) a.playSegments([0, a.totalFrames], true); });
</script>
```

## Other versions

- [Edit](https://useanimations.com/icons/edit): Edit plays on hover and reverses on mouse leave, is longer at 2 s instead of 1.33 s and has the edit-2 and edit states.
- [Edit 2](https://useanimations.com/icons/edit-2): Edit 2 is shorter at 1.2 s instead of 1.33 s.

## FAQ

### Do fast clicks on Edit 3 queue up?

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.

### Should the Edit 3 icon be a <button>?

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

### Can Edit 3 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

- [Minus Square](https://useanimations.com/icons/minus-square) (click-replay)
- [Plus Circle](https://useanimations.com/icons/plus-circle) (click-replay)
- [Refresh Ccw](https://useanimations.com/icons/refresh-ccw) (click-replay)
- [Power](https://useanimations.com/icons/power) (click-replay)
- [Minus](https://useanimations.com/icons/minus) (click-replay)
- [Save](https://useanimations.com/icons/save) (click-replay)
- [Upload Cloud](https://useanimations.com/icons/upload-cloud) (click-replay)
- [Thumbs Down](https://useanimations.com/icons/thumbs-down) (click-replay)
- [Filter](https://useanimations.com/icons/filter) (click-replay)
- [Download V2](https://useanimations.com/icons/download-v2) (click-replay)
- [Rotate Ccw](https://useanimations.com/icons/rotate-ccw) (click-replay)
- [Download](https://useanimations.com/icons/download) (click-replay)

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