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

@signozhq/icons

v0.3.0

Published

SVG-based React icon components

Readme

@signoz/icons

Description

@signoz/icons is a collection of SVG-based React icon components. This package provides a set of customizable icons that can be easily integrated into your React projects.

Features

  • SVG-based icons for high-quality rendering
  • Customizable via React props (size, color)
  • Easy integration with React projects

Adding SVGs

  1. Place SVG files in the assets/ folder (repo root).
    Only files in assets/ are turned into React components; other folders (e.g. assets2/) are not used by the build.

  2. Naming

    • Use lowercase, hyphenated names (e.g. arrow-right.svg, user-profile.svg).
    • Avoid spaces and special characters so component names stay valid (e.g. arrow-right.svgArrowRight).
  3. Optional: Export from Figma
    To pull icons from the design file into the repo, use the script in scripts/ (see scripts/README.md). It writes to assets2/; copy or move the SVGs you want into assets/ before running the build.

  4. After adding or removing SVGs, run the build (or Storybook) so src/ and the barrel export are regenerated. Deleting an SVG and re-running will remove its component from the package.


Steps to run

Prerequisites: Node.js, pnpm (recommended; npm works too).

# Install dependencies
pnpm install

# Generate React components from assets/*.svg → src/
pnpm run svgr

# Build the package (svgr + rollup) → dist/
pnpm run build

# Run the icon gallery (Storybook) on http://localhost:6006
pnpm run storybook
  • pnpm run svgr — Converts each SVG in assets/ to a TypeScript React component in src/ and updates src/index.ts. Safe to run anytime; it clears src/ first.
  • pnpm run build — Runs svgr then Rollup to produce dist/ (ESM + types). Use this before publishing or testing the built package locally.

Validation

Before committing or publishing, run:

# Lint and type-check (prebuild runs these before build)
pnpm run lint
pnpm run type-check

# Full build (includes clean, lint, svgr, rollup)
pnpm run build

Optionally open the gallery to visually confirm icons:

pnpm run storybook

Then open Icons → Gallery: search, resize, toggle light/dark, and click an icon to copy its usage snippet.


Publish

This repo uses Changesets for versioning and publishing.

  1. Create a changeset (after your changes are committed):

    pnpm run changeset

    Choose the version bump (patch/minor/major) and add a short summary. This creates a file under .changeset/.

  2. Version and publish (usually on main after merging):

    pnpm run version   # Updates package.json and CHANGELOG from changesets
    pnpm run release   # Builds then publishes to the registry (e.g. npm)

    Or run the steps manually: pnpm run build && pnpm changeset publish.

Publish access is configured in .changeset/config.json (e.g. restricted for scoped packages).


Installation (consumers)

npm install @signoz/icons
# or
pnpm add @signoz/icons

Usage

import { IconName } from '@signoz/icons';

const MyComponent = () => (
  <IconName size="lg" color="#2A2E37" />
);

Replace IconName with the actual export (e.g. Logs, Value). Props:

  • size — Preset: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl', or a number (pixels).
  • color — CSS color (default 'currentColor').

Contributing

If you find issues or have suggestions, open an issue or submit a pull request.