ICONYZ
English
Python icon from Codicons

Python icon

codicon:python

The Python icon (codicon:python) 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"><g fill="currentColor"><path d="M9.5 12.88a.62.62 0 1 1 0 1.24a.62.62 0 0 1 0-1.24m-3-11a.62.62 0 1 1 0 1.24a.62.62 0 0 1 0-1.24"/><path fill-rule="evenodd" d="M8 0c1.99 0 4 .69 4 2v2h2c1.31 0 2 2.01 2 4s-.69 4-2 4h-2v2c0 1.31-2.01 2-4 2s-4-.69-4-2v-2H2C.69 12 0 9.99 0 8s.69-4 2-4h2V2C4 .69 6.01 0 8 0m4 6a2.5 2.5 0 0 1-2.5 2.5h-3C5.67 8.5 5 9.17 5 10v4c0 .35 1.14 1 3 1s3-.65 3-1v-2H7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5H14c.35 0 1-1.14 1-3s-.65-3-1-3h-2zM8 1c-1.86 0-3 .65-3 1v2h3.5c.28 0 .5.22.5.5s-.22.5-.5.5H2c-.35 0-1 1.14-1 3s.65 3 1 3h2v-1a2.5 2.5 0 0 1 2.5-2.5h3c.83 0 1.5-.67 1.5-1.5V2c0-.35-1.14-1-3-1" clip-rule="evenodd"/></g></svg>

How to use the Python icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Python icon in other icon sets

Python icon FAQ

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

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

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

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

Browse all Codicons →