Skip to content

Instantly share code, notes, and snippets.

@jeremy-code
Created June 7, 2026 07:50
Show Gist options
  • Select an option

  • Save jeremy-code/2db5d9ae0ac839d2cee2a1ae018ab6c1 to your computer and use it in GitHub Desktop.

Select an option

Save jeremy-code/2db5d9ae0ac839d2cee2a1ae018ab6c1 to your computer and use it in GitHub Desktop.
NPM logo SVG using only polygon
Display the source blob
Display the rendered blob
Raw
<svg id="n" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<defs>
<style>
.cls-1 {
fill: #c12127;
}
.cls-2 {
fill: #fff;
}
</style>
</defs>
<title>npm</title>
<polygon class="cls-1" points="0,16 0,0 16,0 16,16" />
<polygon class="cls-2" points="3,3 13,3 13,13 11,13 11,5 8,5 8,13 3,13" />
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment