# Activity animated icon

> Free Activity animated icon that loops continuously. MIT-licensed for React, shadcn/ui, Lottie JSON and SVG.

Activity is a 1.33 s micro animation that loops continuously; use it for activity and uptime indicators. Looping icons typically show loading spinners, active alerts, a ringing bell or a scroll-down hint. Also known as pulse and heartbeat.

## Facts

- Interaction: [Loop](https://useanimations.com/interactions/loop). Plays continuously; stays on the static first frame when reduced motion is preferred.
- Category: [Other](https://useanimations.com/categories/other)
- Duration: 1.33 s at 30 fps
- Artboard: 32 × 32 px
- Lottie size: 1.7 kB
- License: MIT, attribution optional ([Licencing & Terms](https://useanimations.com/licencing-and-terms))

## Files

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

## React

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

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

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

## shadcn/ui

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

```tsx
import { AnimatedActivity } from '@/components/animations/activity';

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

## HTML and lottie-web

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

## FAQ

### Does the Activity animation ever stop?

It pauses by itself while scrolled out of view and stays on its first frame when reduced motion is preferred or autoplay={false} is set. To show it only while something is pending, render it conditionally.

### Will screen readers read the Activity icon?

By default it is aria-hidden. Pass aria-label="Activity" to announce it as an image, or leave it hidden when the link or button it sits in has its own text.

### Can Activity loop only while hovered instead?

Yes: pass interaction="hover-loop". It then loops while hovered, finishes the current cycle after mouseleave and stays static when reduced motion is preferred.

## Related icons

- [Arrow down](https://useanimations.com/icons/arrow-down) (loop)
- [Arrow up](https://useanimations.com/icons/arrow-up) (loop)
- [Scroll down](https://useanimations.com/icons/scroll-down) (loop)
- [Clock](https://useanimations.com/icons/clock) (hover-replay)
- [Frown](https://useanimations.com/icons/frown) (hover-replay)
- [Tool](https://useanimations.com/icons/tool) (hover-replay)
- [Coffee](https://useanimations.com/icons/coffee) (hover-replay)
- [Smile](https://useanimations.com/icons/smile) (hover-replay)
- [Meh](https://useanimations.com/icons/meh) (hover-replay)

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