Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:

VS Code Icons · VscSnake

Snake icon

A free snake icon from VS Code Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
CC BY 4.0 license
Project
github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/vscode-codicons/snake.json
components/icons/vscode-codicons-snake.tsx
import * as React from "react";

/**
 * Snake from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/snake. Sized in em, colored by currentColor.
 */
export function VscSnakeIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 16 16"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M13 11V10C13 8.897 12.103 8 11 8V3.5C11 2.122 9.879 1 8.5 1H5.5C4.121 1 3 2.122 3 3.5C3 4.009 3.154 4.481 3.416 4.877L2.293 6H1C0.724 6 0.5 6.224 0.5 6.5C0.5 6.776 0.724 7 1 7H2V8C2 8.276 2.224 8.5 2.5 8.5C2.776 8.5 3 8.276 3 8V6.707L4.123 5.584C4.518 5.846 4.991 6 5.5 6H7V8H6C4.897 8 4 8.897 4 10V11C2.897 11 2 11.897 2 13C2 14.103 2.897 15 4 15H13C14.103 15 15 14.103 15 13C15 11.897 14.103 11 13 11ZM13 14H4C3.448 14 3 13.551 3 13C3 12.449 3.448 12 4 12H4.5C4.776 12 5 11.776 5 11.5V10C5 9.449 5.448 9 6 9H7.5C7.776 9 8 8.776 8 8.5V5.5C8 5.224 7.776 5 7.5 5H5.5C4.673 5 4 4.327 4 3.5C4 2.673 4.673 2 5.5 2H8.5C9.327 2 10 2.673 10 3.5V8.5C10 8.776 10.224 9 10.5 9H11C11.552 9 12 9.449 12 10V11H7.5C7.224 11 7 11.224 7 11.5C7 11.776 7.224 12 7.5 12H13C13.552 12 14 12.449 14 13C14 13.551 13.552 14 13 14ZM7 3.5C7 3.776 6.776 4 6.5 4C6.224 4 6 3.776 6 3.5C6 3.224 6.224 3 6.5 3C6.776 3 7 3.224 7 3.5Z"
      />
    </svg>
  );
}
With react-icons
import { VscSnake } from "react-icons/vsc";

export function Example() {
  return <VscSnake className="size-5" />;
}
snake.svg
<svg
  viewBox="0 0 16 16"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="M13 11V10C13 8.897 12.103 8 11 8V3.5C11 2.122 9.879 1 8.5 1H5.5C4.121 1 3 2.122 3 3.5C3 4.009 3.154 4.481 3.416 4.877L2.293 6H1C0.724 6 0.5 6.224 0.5 6.5C0.5 6.776 0.724 7 1 7H2V8C2 8.276 2.224 8.5 2.5 8.5C2.776 8.5 3 8.276 3 8V6.707L4.123 5.584C4.518 5.846 4.991 6 5.5 6H7V8H6C4.897 8 4 8.897 4 10V11C2.897 11 2 11.897 2 13C2 14.103 2.897 15 4 15H13C14.103 15 15 14.103 15 13C15 11.897 14.103 11 13 11ZM13 14H4C3.448 14 3 13.551 3 13C3 12.449 3.448 12 4 12H4.5C4.776 12 5 11.776 5 11.5V10C5 9.449 5.448 9 6 9H7.5C7.776 9 8 8.776 8 8.5V5.5C8 5.224 7.776 5 7.5 5H5.5C4.673 5 4 4.327 4 3.5C4 2.673 4.673 2 5.5 2H8.5C9.327 2 10 2.673 10 3.5V8.5C10 8.776 10.224 9 10.5 9H11C11.552 9 12 9.449 12 10V11H7.5C7.224 11 7 11.224 7 11.5C7 11.776 7.224 12 7.5 12H13C13.552 12 14 12.449 14 13C14 13.551 13.552 14 13 14ZM7 3.5C7 3.776 6.776 4 6.5 4C6.224 4 6 3.776 6 3.5C6 3.224 6.224 3 6.5 3C6.776 3 7 3.224 7 3.5Z"
  />
</svg>
Attribution
"Snake" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Snake icon in other sets