ICONYZ
English
Code Oss icon from Codicons

Code Oss icon

codicon:code-oss

The Code Oss icon (codicon:code-oss) 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
Tags
codeoss
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M12.5 1h-9A2.503 2.503 0 0 0 1 3.5v9C1 13.879 2.121 15 3.5 15h9c1.379 0 2.5-1.121 2.5-2.5v-9C15 2.122 13.879 1 12.5 1M2 12.5v-9C2 2.673 2.673 2 3.5 2H5v12H3.5c-.827 0-1.5-.673-1.5-1.5m12 0c0 .827-.673 1.5-1.5 1.5H6V2h6.5c.827 0 1.5.673 1.5 1.5z"/><path d="M7.5 4h3a.5.5 0 0 0 0-1h-3a.5.5 0 0 0 0 1m5 1h-3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1m-2 6h-3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1m2-4h-3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1m0 2h-3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1"/></g></svg>

How to use the Code Oss icon

React

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

<Icon icon="codicon:code-oss" width="24" />

Vue

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

<template>
  <Icon icon="codicon:code-oss" width="24" />
</template>

Svelte

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

<Icon icon="codicon:code-oss" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="codicon:code-oss"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codicon/code-oss.svg" alt="Code Oss icon" width="24" height="24">

Related icons in Codicons

Code Oss icon FAQ

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

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

How do I add the Code Oss icon to a web page?

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

Browse all Codicons →