Stack

Stack

npm

File
npm.svg
viewBox
0 0 1008.8 542.8
Weight
1 KB

Another company's mark, kept in the design system for reference. It belongs to its owner and isn't part of the Black Atmosphere set: for anything published, use the company's official file and follow its guidelines.

96px
160px
240px +

Use it

Download SVG

React

import { Illustration } from '@ba-icons/react';
import npm from '@ba-icons/illustrations/stack/npm';

<Illustration asset={npm} size={160} />

Vue

<script setup>
import { Illustration } from '@ba-icons/vue';
import npm from '@ba-icons/illustrations/stack/npm';
</script>

<template>
  <Illustration :asset="npm" :size="160" />
</template>

Astro

---
import { Illustration } from '@ba-icons/astro';
import npm from '@ba-icons/illustrations/stack/npm';
---

<Illustration asset={npm} size={160} />

HTML

<script src="https://icons.atmosphere.africa/cdn/ba-icons-0.4.0.js" defer></script>

<ba-illustration name="stack/npm" size="160"></ba-illustration>

SVG

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1008.8 542.8" fill="currentColor"><path d="M504.4 307.4H450.4V163.4H504.4ZM989.4 19.4V451.4H504.4V523.4H288.4V451.4H19.4V19.4ZM288.4 91.4H73.4V379.4H181.4V163.4H235.4V379.4H288.4ZM558.4 91.4H342.4V451.4H450.4V379.4H558.4ZM935.4 91.4H612.4V379.4H720.4V163.4H773.4V379.4H827.4V163.4H881.4V379.4H935.4Z"></path></svg>

From the CDN

Link to the file instead of installing it: for <img>, CSS, emails and docs, with nothing added to your bundle. Served with CORS and cached for an hour.

https://icons.atmosphere.africa/svg/stack/npm.svg
<img src="https://icons.atmosphere.africa/svg/stack/npm.svg" alt="npm" width="160">
import { illustrationUrl } from '@ba-icons/illustrations';

illustrationUrl('stack/npm');
// → https://icons.atmosphere.africa/svg/stack/npm.svg

As an <img> it draws in black. To give it the text colour, use it as a mask:

.mark {
  background-color: currentColor;
  mask: url('https://icons.atmosphere.africa/svg/stack/npm.svg') center / contain no-repeat;
}

New to the packages? Point your project at the registry first.