Game icon
codicon:game
The Game icon (codicon:game) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Codicons
- Author
- Microsoft Corporation
- License
- CC-BY-4.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M5.5 6a.5.5 0 0 1 .5.5V8h1.5a.5.5 0 0 1 0 1H6v1.5a.5.5 0 0 1-1 0V9H3.5a.5.5 0 0 1 0-1H5V6.5a.5.5 0 0 1 .5-.5M11 9a1 1 0 1 1 0 2a1 1 0 0 1 0-2m1-3a1 1 0 1 1 0 2a1 1 0 0 1 0-2"/><path fill-rule="evenodd" d="M12 3a4 4 0 0 1 4 4v3a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4zM4 4a3 3 0 0 0-3 3v3a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3z" clip-rule="evenodd"/></g></svg>How to use the Game icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:game" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:game" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:game" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--game]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:game"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:game"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/game.svg" alt="Game icon" width="24" height="24">Game icon in other icon sets
Game icon FAQ
Is the Game icon free for commercial use?
Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Game icon in React?
Install @iconify/react and render <Icon icon="codicon:game" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Game icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/game.svg" alt="Game icon">, or paste the SVG code inline to style it with CSS.