ICONYZ
English
Npm icon from SVG Logos

Npm icon

logos:npm

The Npm icon (logos:npm) is a free SVG icon from the SVG Logos set by Gil Barbara. It is drawn on a 512 × 165 grid. SVG Logos icons are released under the CC0 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
SVG Logos
Author
Gil Barbara
License
CC0-1.0
Size
512 × 165
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="165" viewBox="0 0 512 165"><path fill="#c12127" d="M157.538 164.103h65.641v-32.82h65.642V0H157.538zM223.18 32.82H256v65.64h-32.82zM315.077 0v131.282h65.64V32.821h32.821v98.461h32.821V32.821h32.82v98.461H512V0zM0 131.282h65.641V32.821h32.82v98.461h32.821V0H0z"/></svg>

How to use the Npm icon

React

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

<Icon icon="logos:npm" width="24" />

Vue

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

<template>
  <Icon icon="logos:npm" width="24" />
</template>

Svelte

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

<Icon icon="logos:npm" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="logos:npm"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/logos/npm.svg" alt="Npm icon" width="24" height="24">

Related icons in SVG Logos

Npm icon in other icon sets

Npm icon FAQ

Is the Npm icon free for commercial use?

Yes. SVG Logos icons are released under the CC0 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="logos: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/logos/npm.svg" alt="Npm icon">, or paste the SVG code inline to style it with CSS.

Browse all SVG Logos icons →