ICONYZ
English
Piano Keys icon from Pinhead Map Icons

Piano Keys icon

pinhead:piano-keys

The Piano Keys icon (pinhead:piano-keys) is a free SVG icon from the Pinhead Map Icons set by Quincy Morgan. It is drawn on a 15 × 15 grid. Pinhead Map Icons are released under the CC0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Pinhead Map Icons
Author
Quincy Morgan
License
CC0-1.0
Size
15 × 15
Tags
pianokeys, key
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M13 1c.55 0 1 .44 1 .98v1.36h.01v9.46c0 .62-.5 1.13-1.13 1.19l-.13.01H2.25c-.69 0-1.26-.54-1.26-1.2V3.34L1 1.98C1 1.44 1.45 1 2 1zM3 4H1.75v.09h-.01v8.71c0 .21.18.4.42.44l.09.01h1.5V9H3zm3.5 0H5v5h-.75v4.25h3V9H6.5zM10 4H8.5v5h-.75v4.25h3V9H10zm3.25 0H12v5h-.75v4.25h1.5c.29 0 .51-.21.51-.45V4.09h-.01z"/></svg>

How to use the Piano Keys icon

React

import { Icon } from "@iconify/react";

<Icon icon="pinhead:piano-keys" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="pinhead:piano-keys" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="pinhead:piano-keys" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[pinhead--piano-keys]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/pinhead -->
<div class="i-pinhead:piano-keys"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="pinhead:piano-keys"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/pinhead/piano-keys.svg" alt="Piano Keys icon" width="24" height="24">

Piano Keys icon in other icon sets

Piano Keys icon FAQ

Is the Piano Keys icon free for commercial use?

Yes. Pinhead Map Icons are released under the CC0 license, which allows use in personal and commercial projects.

How do I use the Piano Keys icon in React?

Install @iconify/react and render <Icon icon="pinhead:piano-keys" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Piano Keys icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/pinhead/piano-keys.svg" alt="Piano Keys icon">, or paste the SVG code inline to style it with CSS.

Browse all Pinhead Map Icons →