Live icon · Fun · 20 styles · free

Keycap live icon

A keyboard key showing a letter, a key name such as ESC, or a modifier symbol such as command or shift. Set it here, then download it or paste it anywhere.

Showing: “A” · None

Use it in code

Try an example

Set what it shows

Style Line clean outlines

Colour Style colours

On this page

Keycap in all 20 styles

Same values, 20 personalities. Pick one to use it above.

For developersOne element or component with your settings: HTML, React or Vue

Install it with npm i @withicons/dynamic, or copy the HTML tab as is. The code follows everything you set above: values, style, colours and size.

48 px
HTML: any website
<script src="https://cdn.jsdelivr.net/npm/@withicons/dynamic@0.2.1/dist/cdn/lite.js"></script>

<with-live-icon name="keycap" param-label="A" symbol="none" size="48"></with-live-icon>
React
import { LiveIcon } from '@withicons/dynamic/react'

export function Example() {
  return <LiveIcon name="keycap" symbol="none" params={{ label: 'A' }} size={48} />
}
Vue
<script setup>
import { LiveIcon } from '@withicons/dynamic/vue'
</script>

<template>
  <LiveIcon name="keycap" symbol="none" :params="{ label: 'A' }" :size="48" />
</template>

What you can change

SettingWhat you can setDefaultAttribute
Key labelTextUp to 4 characters: A-Z, 0-9 and % ° : - + / . , ! ? $ € £ ₹ # & * 'Aparam-label
Symbol (replaces the label)Choicenone, command, shift, option, enter, backspace, tab, up, down, left, right, spacenonesymbol

Also called key cap keyboard key keystroke shortcut key hotkey kbd key button

Questions

How do I change the key label on the keycap icon?

Use the controls next to the preview. Key label and Symbol can all be changed, the icon redraws as you go, and the download uses exactly what you see.

Is the keycap icon free?

Yes. It is free for personal and commercial use under the MIT license, in all 20 styles. No sign-up, no credit needed.

Can I use it in PowerPoint, Google Slides or Canva?

Yes. Download a PNG (see-through background), an SVG or a ready PowerPoint slide, then drag it into your slide or design. SVG stays sharp at any size.

How do I add it to a website?

Add the @withicons/dynamic script and write <with-live-icon name="keycap"> with your values as attributes. React and Vue get a LiveIcon component.

Keycap studio

Outline colour