---
title: "Drum animated icon"
description: "Drum animated icon (Music & audio). Light: the left stick lifts 10° and taps the head. Strong: the sticks alternate two hard 22° hits and the shell jolts down on each contact."
canonical: https://generativeicons.com/icons/drum/
---

# Drum animated icon

Light: the left stick lifts 10° and taps the head. Strong: the sticks alternate two hard 22° hits and the shell jolts down on each contact.

- Id: `drum`
- Category: Music & audio
- Search terms: drum kit, snare, snare drum, drumsticks, drummer, percussion, marching band, beat, rhythm
- 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/drum.lottie (dotLottie, 4093 bytes, sha256 02f10b053f9a31fe8033c6c8d09837e09f9f200de229d590b73e8783225bbbf7)
- License: MIT

## Install

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

## React

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

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