Npm icon
thesvg-color:npm
The Npm icon (thesvg-color:npm) is a free SVG icon from the theSVG Color set by thesvg.org. It is drawn on a 2500 × 2500 grid. theSVG Color icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- theSVG Color
- Author
- thesvg.org
- License
- MIT
- Size
- 2500 × 2500
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="2500" height="2500" viewBox="0 0 2500 2500"><path fill="#c00" d="M0 0h2500v2500H0z"/><path fill="#fff" d="M1241.5 268.5h-973v1962.9h972.9V763.5h495v1467.9h495V268.5z"/></svg>How to use the Npm icon
React
import { Icon } from "@iconify/react";
<Icon icon="thesvg-color:npm" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="thesvg-color:npm" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="thesvg-color:npm" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg-color--npm]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/thesvg-color -->
<div class="i-thesvg-color:npm"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="thesvg-color:npm"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/thesvg-color/npm.svg" alt="Npm icon" width="24" height="24">Npm icon in other icon sets
Npm icon FAQ
Is the Npm icon free for commercial use?
Yes. theSVG Color icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Npm icon in React?
Install @iconify/react and render <Icon icon="thesvg-color:npm" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Npm icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/thesvg-color/npm.svg" alt="Npm icon">, or paste the SVG code inline to style it with CSS.