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 🙏

© 2026 – Pkg Stats / Ryan Hefner

now-design-icons

v1.0.5

Published

SVGR React icon library for now-design.

Downloads

40

Readme

now-design-icons

A library of 1900+ SVG React icon components, auto-generated and pre-transpiled for easy use in any React project. Each icon is a flexible, typed React component with full props support, optimized for modern React workflows and npm workspaces.


📦 Installation

npm install now-design-icons

🚀 Usage

Import any icon as a named export:

import { SystemAddFill, WeatherSunLine } from 'now-design-icons';

export function Example() {
  return (
    <div>
      <SystemAddFill width={32} height={32} style={{ color: 'blue' }} />
      <WeatherSunLine width={24} height={24} style={{ color: 'orange' }} />
    </div>
  );
}

🧩 Icon Props

All icons accept the following props:

  • width, height: Size of the icon (number or string, e.g. 24 or '2em')
  • className: Custom CSS class
  • style: Inline styles (including color for theming)
  • Any other SVG props (e.g. aria-label, onClick)

All icons use currentColor for their fill, so you can control color via CSS or the style prop.


🛠️ How It Works

  • SVGs are exported from Figma and placed in raw/.
  • Icon JS files are copied and transpiled to plain JS in dist/.
  • A barrel export (dist/index.js) is auto-generated for all icons, so you can import any icon as a named export.
  • All icons use currentColor for easy theming.

📁 Package Structure (2024)

  • raw/ — All source SVGs
  • src/react/ — All React icon components (one file per icon)
  • src/react/index.js — Barrel file for importing all icons in Storybook and local dev
  • dist/ — Transpiled JS for npm consumers
  • scripts/ — Utility scripts for fetching, fixing, and generating icons

🧪 Storybook

To preview all icons locally:

cd packages/icons
npm install
npx start-storybook -p 6006
  • AllIcons.stories.jsx and SingleIcon.stories.jsx are in src/react/.
  • Storybook will auto-import from src/react/index.js.

🏷️ Naming Convention

  • Icon components are PascalCase and suffixed with Fill or Line (e.g., SystemAddFill, SystemAddLine).
  • All icons are available as named exports from the package root. The index.js barrel file is auto-generated and always up to date.

🏢 Monorepo & Workspaces

This package is part of the now-design monorepo, managed with npm workspaces. You can run scripts from the monorepo root:

npm run --workspace=now-design-icons build

Or from within the package directory:

cd packages/icons
npm run build

📝 Troubleshooting

  • Missing icons?
    • Re-run the Figma fetch script: npm run fetch-icons
    • Rebuild: npm run build
  • Type errors?
    • Ensure react and @types/react are installed in your project.
  • Props not working?
    • All icons accept width, height, className, style, and SVG props.
  • Storybook slow to load?
    • This is expected with 1900+ icons. Use the search/filter for faster navigation.

🤝 Contributing

  • To add or update icons, update the Figma file, run the fetch script, and rebuild.
  • For custom SVGs, add them to raw/ and rerun the build.
  • PRs are welcome! Please ensure all icons build and Storybook runs before submitting.

📚 References & Resources


🏷️ Example: Custom Icon Button

import { SystemAdd } from '@now-design/icons';

export function IconButton() {
  return (
    <button className="icon-btn">
      <SystemAdd width={20} height={20} />
      Add
    </button>
  );
}