---
title: "Bounce ball animated icon"
description: "Bounce ball animated icon (Loading indicators). A ball compresses at a clear contact point."
canonical: https://generativeicons.com/icons/bounce-ball/
---

# Bounce ball animated icon

A ball compresses at a clear contact point.

- Id: `bounce-ball`
- Category: Loading indicators
- Search terms: loading, loader, ball loader, rubber ball, busy, please wait, waiting, processing, activity indicator
- One action, back to rest
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/bounce-ball.lottie (dotLottie, 50677 bytes, sha256 6cf23ce0d6cdceeeeb533f52812dc25da09075551ad89e55c7c1549ac74e4c77)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add bounce-ball
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/bounce-ball.mjs';

export function BounceBallIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/bounce-ball.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/bounce-ball/ · https://generativeicons.com/api/icons/bounce-ball
