ICONYZ
English
Snake icon from Codicons

Snake icon

codicon:snake

The Snake icon (codicon:snake) 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="M13 11v-1c0-1.103-.897-2-2-2V3.5C11 2.122 9.879 1 8.5 1h-3A2.503 2.503 0 0 0 3 3.5c0 .509.154.981.416 1.377L2.293 6H1a.5.5 0 0 0 0 1h1v1a.5.5 0 0 0 1 0V6.707l1.123-1.123C4.518 5.846 4.991 6 5.5 6H7v2H6c-1.103 0-2 .897-2 2v1c-1.103 0-2 .897-2 2s.897 2 2 2h9c1.103 0 2-.897 2-2s-.897-2-2-2m0 3H4a1.001 1.001 0 0 1 0-2h.5a.5.5 0 0 0 .5-.5V10c0-.551.448-1 1-1h1.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-2C4.673 5 4 4.327 4 3.5S4.673 2 5.5 2h3c.827 0 1.5.673 1.5 1.5v5a.5.5 0 0 0 .5.5h.5c.552 0 1 .449 1 1v1H7.5a.5.5 0 0 0 0 1H13a1.001 1.001 0 0 1 0 2M7 3.5a.5.5 0 1 1-1 0a.5.5 0 0 1 1 0"/></svg>

How to use the Snake icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Snake icon in other icon sets

Snake icon FAQ

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

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

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

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

Browse all Codicons →