---
title: "Guitar animated icon"
description: "Guitar animated icon (Music & audio). A strum rings out. Light: the strum knocks the guitar into a quick sway, the sound hole pumps once and a pair of sound arcs leave both sides of the body and fade as they travel out. Strong: a down-strum then an up-strum: two knocks the other way each time, two pumps and two waves of arcs, settling upright."
canonical: https://generativeicons.com/icons/guitar/
---

# Guitar animated icon

A strum rings out. Light: the strum knocks the guitar into a quick sway, the sound hole pumps once and a pair of sound arcs leave both sides of the body and fade as they travel out. Strong: a down-strum then an up-strum: two knocks the other way each time, two pumps and two waves of arcs, settling upright.

- Id: `guitar`
- Category: Music & audio
- Search terms: acoustic guitar, acoustic, strum, strings, string instrument, band, rock, guitarist, live music, folk
- 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/guitar.lottie (dotLottie, 4890 bytes, sha256 1096066619dc85621990a8779f49b002901042e98b6c1c14504763499f4609c9)
- License: MIT

## Install

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

## React

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

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