gentleface

Gentleface › Nature & animals › snake

snake icon

Snake: snake, serpent, reptile. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8.146 2.854L8.854 2.146C8.951 2.049 9.069 2 9.207 2L12 2C12.276 2 12.512 2.098 12.707 2.293C12.902 2.488 13 2.724 13 3L13 4L13.293 4L14.146 3.146C14.246 3.047 14.364 2.997 14.5 2.997C14.636 2.997 14.754 3.047 14.854 3.146C14.951 3.244 15 3.362 15 3.5C15 3.638 14.951 3.756 14.854 3.854L14.207 4.5L14.854 5.146C14.951 5.244 15 5.362 15 5.5C15 5.638 14.951 5.756 14.854 5.854C14.754 5.953 14.636 6.003 14.5 6.003C14.364 6.003 14.246 5.953 14.146 5.854L13.293 5L13 5C13 5.276 12.902 5.512 12.707 5.707C12.512 5.902 12.276 6 12 6L9.207 6C9.069 6 8.951 5.951 8.854 5.854L8.146 5.146C8.049 5.049 7.931 5 7.793 5L4 5C3.873 5 3.75 5.023 3.632 5.07C3.504 5.121 3.391 5.195 3.293 5.293C3.195 5.391 3.121 5.504 3.07 5.632C3.023 5.75 3 5.873 3 6C3 6.127 3.023 6.25 3.07 6.368C3.121 6.496 3.195 6.609 3.293 6.707C3.391 6.805 3.504 6.879 3.632 6.93C3.75 6.977 3.873 7 4 7L11 7C11.381 7 11.75 7.07 12.104 7.211C12.489 7.363 12.828 7.586 13.121 7.879C13.414 8.172 13.637 8.511 13.789 8.896C13.93 9.25 14 9.619 14 10C14 10.381 13.93 10.75 13.789 11.104C13.637 11.489 13.414 11.828 13.121 12.121C12.828 12.414 12.489 12.637 12.104 12.789C11.75 12.93 11.381 13 11 13L5.118 13C5.039 13 4.965 12.982 4.894 12.947L3.894 12.447C3.809 12.404 3.742 12.343 3.692 12.263C3.643 12.183 3.618 12.096 3.618 12C3.618 11.904 3.643 11.817 3.692 11.737C3.742 11.657 3.809 11.596 3.894 11.553L4.894 11.053C4.965 11.018 5.039 11 5.118 11L11 11C11.127 11 11.25 10.977 11.368 10.93C11.496 10.879 11.609 10.805 11.707 10.707C11.805 10.609 11.879 10.496 11.93 10.368C11.977 10.25 12 10.127 12 10C12 9.873 11.977 9.75 11.93 9.632C11.879 9.504 11.805 9.391 11.707 9.293C11.609 9.195 11.496 9.121 11.368 9.07C11.25 9.023 11.127 9 11 9L4 9C3.619 9 3.25 8.93 2.896 8.789C2.511 8.637 2.172 8.414 1.879 8.121C1.586 7.828 1.363 7.489 1.211 7.104C1.07 6.75 1 6.381 1 6C1 5.619 1.07 5.25 1.211 4.896C1.363 4.511 1.586 4.172 1.879 3.879C2.172 3.586 2.511 3.363 2.896 3.211C3.25 3.07 3.619 3 4 3L7.793 3C7.931 3 8.049 2.951 8.146 2.854ZM11.5 2.793C11.109 2.793 10.793 3.109 10.793 3.5C10.793 3.891 11.109 4.207 11.5 4.207C11.891 4.207 12.207 3.891 12.207 3.5C12.207 3.109 11.891 2.793 11.5 2.793Z"/></svg>
React
// Gentleface "snake" (line-round), MIT. https://gentleface.com/icons/snake
import type { SVGProps } from 'react';

export function SnakeIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M8.146 2.854L8.854 2.146C8.951 2.049 9.069 2 9.207 2L12 2C12.276 2 12.512 2.098 12.707 2.293C12.902 2.488 13 2.724 13 3L13 4L13.293 4L14.146 3.146C14.246 3.047 14.364 2.997 14.5 2.997C14.636 2.997 14.754 3.047 14.854 3.146C14.951 3.244 15 3.362 15 3.5C15 3.638 14.951 3.756 14.854 3.854L14.207 4.5L14.854 5.146C14.951 5.244 15 5.362 15 5.5C15 5.638 14.951 5.756 14.854 5.854C14.754 5.953 14.636 6.003 14.5 6.003C14.364 6.003 14.246 5.953 14.146 5.854L13.293 5L13 5C13 5.276 12.902 5.512 12.707 5.707C12.512 5.902 12.276 6 12 6L9.207 6C9.069 6 8.951 5.951 8.854 5.854L8.146 5.146C8.049 5.049 7.931 5 7.793 5L4 5C3.873 5 3.75 5.023 3.632 5.07C3.504 5.121 3.391 5.195 3.293 5.293C3.195 5.391 3.121 5.504 3.07 5.632C3.023 5.75 3 5.873 3 6C3 6.127 3.023 6.25 3.07 6.368C3.121 6.496 3.195 6.609 3.293 6.707C3.391 6.805 3.504 6.879 3.632 6.93C3.75 6.977 3.873 7 4 7L11 7C11.381 7 11.75 7.07 12.104 7.211C12.489 7.363 12.828 7.586 13.121 7.879C13.414 8.172 13.637 8.511 13.789 8.896C13.93 9.25 14 9.619 14 10C14 10.381 13.93 10.75 13.789 11.104C13.637 11.489 13.414 11.828 13.121 12.121C12.828 12.414 12.489 12.637 12.104 12.789C11.75 12.93 11.381 13 11 13L5.118 13C5.039 13 4.965 12.982 4.894 12.947L3.894 12.447C3.809 12.404 3.742 12.343 3.692 12.263C3.643 12.183 3.618 12.096 3.618 12C3.618 11.904 3.643 11.817 3.692 11.737C3.742 11.657 3.809 11.596 3.894 11.553L4.894 11.053C4.965 11.018 5.039 11 5.118 11L11 11C11.127 11 11.25 10.977 11.368 10.93C11.496 10.879 11.609 10.805 11.707 10.707C11.805 10.609 11.879 10.496 11.93 10.368C11.977 10.25 12 10.127 12 10C12 9.873 11.977 9.75 11.93 9.632C11.879 9.504 11.805 9.391 11.707 9.293C11.609 9.195 11.496 9.121 11.368 9.07C11.25 9.023 11.127 9 11 9L4 9C3.619 9 3.25 8.93 2.896 8.789C2.511 8.637 2.172 8.414 1.879 8.121C1.586 7.828 1.363 7.489 1.211 7.104C1.07 6.75 1 6.381 1 6C1 5.619 1.07 5.25 1.211 4.896C1.363 4.511 1.586 4.172 1.879 3.879C2.172 3.586 2.511 3.363 2.896 3.211C3.25 3.07 3.619 3 4 3L7.793 3C7.931 3 8.049 2.951 8.146 2.854ZM11.5 2.793C11.109 2.793 10.793 3.109 10.793 3.5C10.793 3.891 11.109 4.207 11.5 4.207C11.891 4.207 12.207 3.891 12.207 3.5C12.207 3.109 11.891 2.793 11.5 2.793Z" />
    </svg>
  );
}
Vue
Vue: see /icons/snake.md
Svelte
Svelte: see /icons/snake.md
HTML img
HTML img: see /icons/snake.md
CSS
CSS: see /icons/snake.md
Data URL
Data URL: see /icons/snake.md
Sprite
Sprite: see /icons/snake.md
SwiftUI
SwiftUI: see /icons/snake.md
Compose
Compose: see /icons/snake.md
Android XML
Android XML: see /icons/snake.md
Flutter
Flutter: see /icons/snake.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
snake, serpent, reptile
Tags
snake, serpent, viper, python, cobra, reptile, slither, venom, wildlife, animal, zoo, critter
Category
Nature & animals
Component name
SnakeIcon
History
  • 20 px drawn, 24 px drawn, added

More nature & animals icons

For agents

Metadata: /icons/snake.json · Markdown: /icons/snake.md · SVG: https://gentleface.com/svg/{style}/16/snake.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/snake.png