ICONYZ
English

Codicons

codicon · 654 icons · by Microsoft Corporation · CC-BY-4.0 · single-color · Updated

Codicons is a free, open source icon set with 654 SVG icons by Microsoft Corporation, released under the CC BY 4.0 license. The icons are single-color: they follow your text color (currentColor) and can be recolored with CSS.

Codicons design specs

  • filled
  • monochrome

The drawing rules of this set, measured from its SVG files. Use them to design new icons that match it.

Canvas24 × 24
viewBox0 0 24 24
Drawing area22 × 22, 1 padding
Drawing styleFilled shapes
Corner radius0.5
ColorsOne color (currentColor), recolorable with CSS
CoordinatesUp to 3 decimals
Straight lines69% horizontal or vertical, 14% at 45°
Curves56% of drawing commands
Symmetry24% of icons are left-right symmetric
Elements per icon1.1
Drawing commands per icon30

Measured from 63 icons of this set.

AI icon generation

The license allows new icons derived from this set.

  • Credit the original authors.

Credit line: Based on Codicons by Microsoft Corporation, licensed under CC BY 4.0. https://github.com/microsoft/vscode-codicons/blob/main/LICENSE

Style guide for an LLM prompt (English)

Paste it into a prompt with a few icons from this set, then name the icon you want.

You draw new icons for the "Codicons" icon set (Iconify prefix "codicon") by Microsoft Corporation.
Style: filled, solid, monochrome.
Iconify describes the set as: Precise Shapes, Has Padding.

Canvas
- Root: <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">.
- Keep the drawing inside a 22x22 live area: about 1 unit of padding on every side (never less than 0).
- A typical icon's bounding box covers 34% of the canvas.

Drawing
- Filled icons: draw closed filled shapes; don't use strokes.
- Round corners with a radius of about 0.5.

Geometry
- Coordinates are free-form; write at most 3 decimals.
- Straight lines: 69% horizontal or vertical, 14% at 45 degrees.
- About 56% of drawing commands are curves or arcs.
- Keep it simple: about 1 element and 30 drawing commands per icon.
- Elements used by the set: path, g.

Color
- Monochrome: paint with currentColor only, never a fixed color.

Output
- Reply with one complete <svg> element and nothing else: no comments, <title>, ids or scripts.
- Match the examples: reuse their shapes for shared parts (arrow heads, people, documents, badges).
Page 1 of 7

About Codicons

Popular Codicons include account, bell dot, new file, split vertical, debug pause and color mode.

Open any icon to copy it as SVG, JSX, Vue, Svelte, Solid, Astro or CSS, or download it as SVG or PNG. 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 to use Codicons

Every icon on this page works in any framework. Examples use codicon:account; open an icon to copy its exact SVG, JSX, Vue, Svelte, Solid, Astro or CSS code. For sizing, color and accessibility tips, read how to use SVG icons.

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Codicons FAQ

Are Codicons 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 many icons are in Codicons?

Codicons contains 654 icons.

What license do Codicons use?

Codicons are licensed under CC BY 4.0. The full license text is available at https://github.com/microsoft/vscode-codicons/blob/main/LICENSE.

Who made Codicons?

Codicons are created by Microsoft Corporation.

How do I use Codicons in React?

Install @iconify/react and render <Icon icon="codicon:account" />, or open any icon on this page and copy it as a standalone React component.

Similar icon sets