# Printer animated icon

> MIT-licensed Printer animated icon: replays on every click. Use it in React or shadcn/ui, or get the Lottie JSON or SVG.

Use the Printer icon for print buttons on invoices and reports: it replays on every click and takes 1.33 s. 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: [Devices](https://useanimations.com/categories/devices)
- Duration: 1.33 s at 30 fps
- Artboard: 32 × 32 px
- Lottie size: 2.5 kB
- License: MIT, attribution optional ([Licencing & Terms](https://useanimations.com/licencing-and-terms))

## Files

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

## React

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

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

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

## shadcn/ui

```bash
npx shadcn@latest add https://useanimations.com/r/printer.json
```

```tsx
import { AnimatedPrinter } from '@/components/animations/printer';

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

## HTML and lottie-web

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

## FAQ

### Do fast clicks on Printer 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 Printer icon be a <button>?

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

### Can Printer 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

- [Watch](https://useanimations.com/icons/watch) (hover-replay)
- [Battery Charging](https://useanimations.com/icons/battery-charging) (hover-replay)
- [Battery](https://useanimations.com/icons/battery) (hover-replay)
- [Smartphone](https://useanimations.com/icons/smartphone) (hover-replay)
- [Wifi Off](https://useanimations.com/icons/wifi-off) (click-toggle)
- [CPU](https://useanimations.com/icons/cpu) (hover-replay)
- [Hard Drive](https://useanimations.com/icons/hard-drive) (hover-replay)
- [WiFi](https://useanimations.com/icons/wifi) (hover-replay)
- [Monitor](https://useanimations.com/icons/monitor) (hover-replay)
- [Tablet](https://useanimations.com/icons/tablet) (hover-replay)
- [Bluetooth](https://useanimations.com/icons/bluetooth) (hover-replay)

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