npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@warp-ds/icons

v2.4.0

Published

WARP's icon set

Downloads

3,615

Readme

WARP icons

The icon set for WARP, imported from (Figma project)[https://www.figma.com/file/yEx16ew6S0Xgd579dN4hsM/Warp---Icons?type=design&node-id=150-113&mode=design&t=TRtIuPlsDoYlbuqd-0].

Note that the icons in the "src/raw" folder in this repository should never be used directly, as they aren't optimized. Also note that Raw icons don't contain title element and hence won't follow accessibility guidelines

How to use

React

Install dependencies

npm install @warp-ds/icons

Import React icons

import { IconBag16 } from '@warp-ds/icons/react';
<IconBag16 />

Vue

Install dependencies

npm install @warp-ds/icons

Import Vue icons

import { IconChevronRight16 } from '@warp-ds/icons/vue';
<icon-chevron-right-16 />

Elements

Install dependencies

You will need to install both Warp Elements and Lit Element which is the library we use for custom elements

npm install lit @warp-ds/icons

Import Elements icons

Import elements icons once to use them in the entire app. Once imported, run your script through whatever bundling process your app uses (Rollup, Esbuild, etc) after which the component can be used in the page.

import '@warp-ds/icons/elements';
<w-icon-attachment-16></w-icon-attachment-16>
<w-icon-attachment-24></w-icon-attachment-24>

Or import individual icons:

import "@warp-ds/icons/elements/alert-16";
<w-icon-alert-16></w-icon-alert-16>

Development

Install dependencies

Run the following command to install dependencies:

pnpm install

Adding new icons

When adding icons to @warp-ds/icons follow these steps:

  1. Add all the icon files to the correct folder in src/raw/ directory. Follow this pattern: src/raw/{icon-name}/icon_{size}.svg
  2. Add description for the new icons to default-icon-descriptions.js and run pnpm i18n:get-sorted-locales to sort the translations alphabetically. Follow this pattern:
arrowleft: {
  message: "Leftward-pointing arrow", // We only describe what the icon looks like - not what is its potential purpose.
  id: "icon.title.arrow-left", // the last part reflects the name of the folder
  comment: "Title for arrow left icon" // This comment will serve as help for the internationalisation team to provide correct translation of the icon description
},
  1. Generate locales files and build the icons:
pnpm build

Local preview

You can open a local preview of the icons. Use this to verify that the icons look as they should. Run the following command:

pnpm dev

Typescript support

We are bundling types now for all named exports. To make Typescript compiler compliant to these changes you'll need to use "module": "NodeNext" in your tsconfig and then all the imports would have types.

Releases

This project is continuously published to NPM using a next tag (e.g. 1.1.0-next.1). Anyone needing to use the latest changes of this package can point to the next version while waiting for the stable release.

Changelog

Detailed changes for each release can be found in the CHANGELOG file.

License

@warp-ds/icons is available under the Apache-2.0 software license.