ICONYZ
English
Robot icon from Codicons

Robot icon

codicon:robot

The Robot icon (codicon:robot) 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
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 9H4c-.827 0-1.5.673-1.5 1.5v.5c0 .123.062 3 5.5 3s5.5-2.877 5.5-3v-.5c0-.827-.673-1.5-1.5-1.5m.5 1.991C12.497 11.073 12.372 13 8 13s-4.497-1.927-4.5-2v-.5A.5.5 0 0 1 4 10h8a.5.5 0 0 1 .5.5zM5.5 8h5c.827 0 1.5-.673 1.5-1.5v-3c0-.827-.673-1.5-1.5-1.5h-2v-.5a.5.5 0 0 0-1 0V2h-2C4.673 2 4 2.673 4 3.5v3C4 7.327 4.673 8 5.5 8M5 3.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5zM5.75 5a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0m3 0a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0"/></svg>

How to use the Robot icon

React

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

<Icon icon="codicon:robot" width="24" />

Vue

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

<template>
  <Icon icon="codicon:robot" width="24" />
</template>

Svelte

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

<Icon icon="codicon:robot" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--robot]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="codicon:robot"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codicon/robot.svg" alt="Robot icon" width="24" height="24">

Robot icon in other icon sets

Robot icon FAQ

Is the Robot 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 Robot icon in React?

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

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

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

Browse all Codicons →