ICONYZ
English
Keyboard icon from Grommet Icons

Keyboard icon

grommet-icons:keyboard

The Keyboard icon (grommet-icons:keyboard) is a free SVG icon from the Grommet Icons set by Grommet. It is drawn on a 24 × 24 grid. Grommet Icons are released under the Apache 2.0 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
Grommet Icons
Author
Grommet
License
Apache-2.0
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="2" d="M3 9h3m-3 3h2m-2 3h1m3 0h10m1 0h1m1 0h1m-3-3h3m-2-3h2m-5 0h2M7 9h2m1 0h2m1 0h2M5 15h1m0-3h2m1 0h2m1 0h2m1 0h2M1 7v10a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1z"/></svg>

How to use the Keyboard icon

React

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

<Icon icon="grommet-icons:keyboard" width="24" />

Vue

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

<template>
  <Icon icon="grommet-icons:keyboard" width="24" />
</template>

Svelte

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

<Icon icon="grommet-icons:keyboard" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[grommet-icons--keyboard]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/grommet-icons -->
<div class="i-grommet-icons:keyboard"></div>

Web component

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

<iconify-icon icon="grommet-icons:keyboard"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/grommet-icons/keyboard.svg" alt="Keyboard icon" width="24" height="24">

Keyboard icon in other icon sets

Keyboard icon FAQ

Is the Keyboard icon free for commercial use?

Yes. Grommet Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Keyboard icon in React?

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

How do I add the Keyboard icon to a web page?

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

Browse all Grommet Icons →