---
title: "Game controller animated icon"
description: "Game controller animated icon (Gamification & rewards). Light: the top button presses in and the pad dips half a unit under the thumb. Strong: the pad rumbles with a decaying shake while both buttons press in turn."
canonical: https://generativeicons.com/icons/game-controller/
---

# Game controller animated icon

Light: the top button presses in and the pad dips half a unit under the thumb. Strong: the pad rumbles with a decaying shake while both buttons press in turn.

- Id: `game-controller`
- Category: Gamification & rewards
- Search terms: gamepad, joystick, joypad, gaming, gamer, video game, video games, games, console, esports, arcade
- 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/game-controller.lottie (dotLottie, 18933 bytes, sha256 a7fab164a912045d068dce6163cc8a5450918324c13d2995c4b90558761b22eb)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add game-controller
```

## React

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

export function GameControllerIcon() {
  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/game-controller.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/game-controller/ · https://generativeicons.com/api/icons/game-controller
