gentleface

Gentleface › Audio & video › guitar

guitar icon

Guitar: guitar, acoustic guitar, electric guitar. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated guitar-pluck · line-round

A finger draws the string aside and lets go. The string blurs from side to side in a fading vibration, the sound hole throbs once and a sound arc leaves the body.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.3 s to 1.8 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M11.146 1.854C11.049 1.756 11 1.638 11 1.5C11 1.362 11.049 1.244 11.146 1.146C11.246 1.047 11.364 0.997 11.5 0.997C11.636 0.997 11.754 1.047 11.854 1.146L12.5 1.793L13.146 1.146C13.246 1.047 13.364 0.997 13.5 0.997C13.636 0.997 13.754 1.047 13.854 1.146L14.854 2.146C14.953 2.246 15.003 2.364 15.003 2.5C15.003 2.636 14.953 2.754 14.854 2.854L14.207 3.5L14.854 4.146C14.951 4.244 15 4.362 15 4.5C15 4.638 14.951 4.756 14.854 4.854C14.754 4.953 14.636 5.003 14.5 5.003C14.364 5.003 14.246 4.953 14.146 4.854L13.5 4.207L12.854 4.854C12.754 4.953 12.636 5.003 12.5 5.003C12.364 5.003 12.246 4.953 12.146 4.854L12 4.707L10.446 6.261C10.585 6.457 10.699 6.668 10.789 6.896C10.93 7.25 11 7.619 11 8C11 8.433 10.929 8.834 10.787 9.203C10.644 9.574 10.437 9.895 10.166 10.166C9.895 10.437 9.574 10.644 9.203 10.787C8.973 10.875 8.731 10.936 8.476 10.97C8.437 11.358 8.35 11.746 8.214 12.134C8.033 12.651 7.782 13.123 7.462 13.55C7.136 13.985 6.77 14.329 6.366 14.581C5.917 14.86 5.461 15 5 15C4.491 15 4.001 14.906 3.528 14.719C3.014 14.516 2.562 14.219 2.172 13.828C1.781 13.438 1.484 12.986 1.281 12.472C1.094 11.999 1 11.509 1 11C1 10.539 1.14 10.083 1.419 9.634C1.671 9.23 2.015 8.864 2.45 8.538C2.877 8.218 3.349 7.967 3.866 7.786C4.254 7.65 4.642 7.563 5.03 7.524C5.064 7.269 5.125 7.027 5.213 6.797C5.356 6.426 5.563 6.105 5.834 5.834C6.105 5.563 6.426 5.356 6.797 5.213C7.166 5.071 7.567 5 8 5C8.381 5 8.75 5.07 9.104 5.211C9.332 5.301 9.543 5.415 9.739 5.554L11.293 4L11.146 3.854C11.047 3.754 10.997 3.636 10.997 3.5C10.997 3.364 11.047 3.246 11.146 3.146L11.793 2.5L11.146 1.854ZM12.207 3.5L12.5 3.793L13.793 2.5L13.5 2.207L12.207 3.5ZM7.854 8.854C7.756 8.951 7.638 9 7.5 9C7.362 9 7.244 8.951 7.146 8.854C7.047 8.754 6.997 8.636 6.997 8.5C6.997 8.364 7.047 8.246 7.146 8.146L9.016 6.277C8.927 6.225 8.834 6.179 8.736 6.14C8.5 6.047 8.254 6 8 6C7.388 6 6.902 6.18 6.541 6.541C6.18 6.902 6 7.388 6 8C6 8.141 5.952 8.259 5.856 8.356C5.759 8.452 5.641 8.5 5.5 8.5C5.069 8.5 4.634 8.577 4.196 8.73C3.776 8.877 3.394 9.079 3.05 9.337C2.715 9.589 2.454 9.864 2.268 10.163C2.089 10.45 2 10.729 2 11C2 11.381 2.07 11.75 2.211 12.104C2.363 12.489 2.586 12.828 2.879 13.121C3.172 13.414 3.511 13.637 3.896 13.789C4.25 13.93 4.619 14 5 14C5.271 14 5.55 13.911 5.837 13.732C6.136 13.546 6.411 13.285 6.662 12.95C6.921 12.606 7.123 12.224 7.27 11.804C7.423 11.366 7.5 10.931 7.5 10.5C7.5 10.359 7.548 10.241 7.644 10.144C7.741 10.048 7.859 10 8 10C8.612 10 9.098 9.82 9.459 9.459C9.82 9.098 10 8.612 10 8C10 7.746 9.953 7.5 9.86 7.264C9.821 7.166 9.775 7.073 9.723 6.984L7.854 8.854ZM5.707 10.293C5.902 10.488 6 10.724 6 11C6 11.276 5.902 11.512 5.707 11.707C5.512 11.902 5.276 12 5 12C4.724 12 4.488 11.902 4.293 11.707C4.098 11.512 4 11.276 4 11C4 10.724 4.098 10.488 4.293 10.293C4.488 10.098 4.724 10 5 10C5.276 10 5.512 10.098 5.707 10.293Z"/></svg>
React
// Gentleface "guitar" (line-round), MIT. https://gentleface.com/icons/guitar
import type { SVGProps } from 'react';

export function GuitarIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M11.146 1.854C11.049 1.756 11 1.638 11 1.5C11 1.362 11.049 1.244 11.146 1.146C11.246 1.047 11.364 0.997 11.5 0.997C11.636 0.997 11.754 1.047 11.854 1.146L12.5 1.793L13.146 1.146C13.246 1.047 13.364 0.997 13.5 0.997C13.636 0.997 13.754 1.047 13.854 1.146L14.854 2.146C14.953 2.246 15.003 2.364 15.003 2.5C15.003 2.636 14.953 2.754 14.854 2.854L14.207 3.5L14.854 4.146C14.951 4.244 15 4.362 15 4.5C15 4.638 14.951 4.756 14.854 4.854C14.754 4.953 14.636 5.003 14.5 5.003C14.364 5.003 14.246 4.953 14.146 4.854L13.5 4.207L12.854 4.854C12.754 4.953 12.636 5.003 12.5 5.003C12.364 5.003 12.246 4.953 12.146 4.854L12 4.707L10.446 6.261C10.585 6.457 10.699 6.668 10.789 6.896C10.93 7.25 11 7.619 11 8C11 8.433 10.929 8.834 10.787 9.203C10.644 9.574 10.437 9.895 10.166 10.166C9.895 10.437 9.574 10.644 9.203 10.787C8.973 10.875 8.731 10.936 8.476 10.97C8.437 11.358 8.35 11.746 8.214 12.134C8.033 12.651 7.782 13.123 7.462 13.55C7.136 13.985 6.77 14.329 6.366 14.581C5.917 14.86 5.461 15 5 15C4.491 15 4.001 14.906 3.528 14.719C3.014 14.516 2.562 14.219 2.172 13.828C1.781 13.438 1.484 12.986 1.281 12.472C1.094 11.999 1 11.509 1 11C1 10.539 1.14 10.083 1.419 9.634C1.671 9.23 2.015 8.864 2.45 8.538C2.877 8.218 3.349 7.967 3.866 7.786C4.254 7.65 4.642 7.563 5.03 7.524C5.064 7.269 5.125 7.027 5.213 6.797C5.356 6.426 5.563 6.105 5.834 5.834C6.105 5.563 6.426 5.356 6.797 5.213C7.166 5.071 7.567 5 8 5C8.381 5 8.75 5.07 9.104 5.211C9.332 5.301 9.543 5.415 9.739 5.554L11.293 4L11.146 3.854C11.047 3.754 10.997 3.636 10.997 3.5C10.997 3.364 11.047 3.246 11.146 3.146L11.793 2.5L11.146 1.854ZM12.207 3.5L12.5 3.793L13.793 2.5L13.5 2.207L12.207 3.5ZM7.854 8.854C7.756 8.951 7.638 9 7.5 9C7.362 9 7.244 8.951 7.146 8.854C7.047 8.754 6.997 8.636 6.997 8.5C6.997 8.364 7.047 8.246 7.146 8.146L9.016 6.277C8.927 6.225 8.834 6.179 8.736 6.14C8.5 6.047 8.254 6 8 6C7.388 6 6.902 6.18 6.541 6.541C6.18 6.902 6 7.388 6 8C6 8.141 5.952 8.259 5.856 8.356C5.759 8.452 5.641 8.5 5.5 8.5C5.069 8.5 4.634 8.577 4.196 8.73C3.776 8.877 3.394 9.079 3.05 9.337C2.715 9.589 2.454 9.864 2.268 10.163C2.089 10.45 2 10.729 2 11C2 11.381 2.07 11.75 2.211 12.104C2.363 12.489 2.586 12.828 2.879 13.121C3.172 13.414 3.511 13.637 3.896 13.789C4.25 13.93 4.619 14 5 14C5.271 14 5.55 13.911 5.837 13.732C6.136 13.546 6.411 13.285 6.662 12.95C6.921 12.606 7.123 12.224 7.27 11.804C7.423 11.366 7.5 10.931 7.5 10.5C7.5 10.359 7.548 10.241 7.644 10.144C7.741 10.048 7.859 10 8 10C8.612 10 9.098 9.82 9.459 9.459C9.82 9.098 10 8.612 10 8C10 7.746 9.953 7.5 9.86 7.264C9.821 7.166 9.775 7.073 9.723 6.984L7.854 8.854ZM5.707 10.293C5.902 10.488 6 10.724 6 11C6 11.276 5.902 11.512 5.707 11.707C5.512 11.902 5.276 12 5 12C4.724 12 4.488 11.902 4.293 11.707C4.098 11.512 4 11.276 4 11C4 10.724 4.098 10.488 4.293 10.293C4.488 10.098 4.724 10 5 10C5.276 10 5.512 10.098 5.707 10.293Z" />
    </svg>
  );
}
Vue
Vue: see /icons/guitar.md
Svelte
Svelte: see /icons/guitar.md
HTML img
HTML img: see /icons/guitar.md
CSS
CSS: see /icons/guitar.md
Data URL
Data URL: see /icons/guitar.md
Sprite
Sprite: see /icons/guitar.md
SwiftUI
SwiftUI: see /icons/guitar.md
Compose
Compose: see /icons/guitar.md
Android XML
Android XML: see /icons/guitar.md
Flutter
Flutter: see /icons/guitar.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { GuitarIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
guitar, acoustic guitar, electric guitar
Alternatives
  • piano: musical instruments in general (musical-instrument)
Also fits
  • musical instrument: a guitar or string instruments (guitar)
Tags
guitar, acoustic, instrument, music, strings
Category
Audio & video
Component name
GuitarIcon
History
  • added
  • 16 px redrawn, released in 0.1.0
  • 24 px redrawn, 20 px drawn, 24 px drawn
Since
version 0.1.0

More audio & video icons

For agents

Metadata: /icons/guitar.json · Markdown: /icons/guitar.md · SVG: https://gentleface.com/svg/{style}/16/guitar.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/guitar.png