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

@maqsad/icons

v0.2.38-alpha

Published

Maqsad Icon Library for React - System and Illustration icons

Readme

@maqsad/icons

Table of Contents

Installation

pnpm add @maqsad/icons
# or
npm install @maqsad/icons
# or
yarn add @maqsad/icons

Usage

System Icons

System icons are available in two styles: stroke (outline-based) and filled. All icons can be scaled to any size.

import { IconArrowBack, IconSearch, IconStar } from "@maqsad/icons";
// or import specifically from system
import { IconArrowBack } from "@maqsad/icons/system";

function App() {
  return (
    <div>
      {/* Default size (24px) */}
      <IconArrowBack />

      {/* Custom size */}
      <IconSearch size={18} />

      {/* Custom stroke color */}
      <IconStar stroke="gold" />

      {/* Custom fill color */}
      <IconStar fill="gold" />

      {/* Custom stroke width */}
      <IconArrowBack strokeWidth={1.5} />

      {/* With className for styling */}
      <IconSearch className="my-icon" />
    </div>
  );
}

System Icon Props

| Prop | Type | Default | Description | | ------------- | ---------- | ---------------- | -------------------------------------------- | | size | number | 24 | Icon size in pixels | | stroke | string | 'currentColor' | Icon stroke color | | fill | string | 'none' | Icon fill color | | color | string | 'currentColor' | Icon stroke color (deprecated, use stroke) | | strokeWidth | number | 2 | Stroke width | | className | string | - | CSS class name | | ...props | SVGProps | - | Any valid SVG props |

Illustration Icons

Illustration icons are more detailed icons with multiple color variants.

import { IllustrationNotes, IllustrationVideoLectures } from "@maqsad/icons";
// or import specifically from illustrations
import { IllustrationNotes } from "@maqsad/icons/illustrations";

function App() {
  return (
    <div>
      {/* Default variant (primary - blue) */}
      <IllustrationNotes />

      {/* Secondary variant (brown/pink) */}
      <IllustrationNotes variant="secondary" />

      {/* Dark variant (for light theme) */}
      <IllustrationNotes variant="dark" />

      {/* Light variant (for dark theme) */}
      <IllustrationNotes variant="light" />

      {/* Filled variant with custom colors */}
      <IllustrationNotes
        variant="filled"
        primaryColor="#8B5CF6"
        accentColor="#F59E0B"
      />

      {/* Custom size */}
      <IllustrationVideoLectures size={64} />
    </div>
  );
}

Illustration Icon Props

| Prop | Type | Default | Description | | -------------- | ----------------------------------------------------------- | ----------- | -------------------------------- | | variant | 'primary' \| 'secondary' \| 'filled' \| 'dark' \| 'light' | 'primary' | Icon color variant | | size | number | 48 | Icon width in pixels | | primaryColor | string | '#3B82F6' | Primary color for filled variant | | accentColor | string | '#F59E0B' | Accent color for filled variant | | className | string | - | CSS class name | | ...props | SVGProps | - | Any valid SVG props |

Available Icons

Total: 130 icons (85 system icons + 45 illustration icons)

For a complete list with import examples, see the documentation website

System Icons (85)

Illustration Icons (45)

Variants Explained

| Variant | Preview | Description | Use Case | | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | -------------------------- | | primary | | Blue color scheme | Default, general use | | secondary | | Brown/pink color scheme | Alternative styling | | dark | | Dark monotone | Icons on light backgrounds | | light | | Light monotone | Icons on dark backgrounds |

Adding New Icons

System Icons

  1. Add your SVG file to assets/system/stroke/ (for outline icons) or assets/system/filled/ (for filled icons)
  2. Run pnpm build:icons

Illustration Icons

  1. Add your SVG files to assets/illustrations/{variant}/ for each variant
  2. Run pnpm build:icons

Development

# Install dependencies
pnpm install

# Build icons from SVG assets
pnpm build:icons

# Build the library
pnpm build

# Type check
pnpm typecheck

Tree Shaking

This library is fully tree-shakeable. Import only the icons you need:

// ✅ Good - only imports what you need
import { IconSearch, IconHeart } from "@maqsad/icons";

// ✅ Also good - imports from specific subpath
import { IconSearch } from "@maqsad/icons/system";
import { IllustrationNotes } from "@maqsad/icons/illustrations";

TypeScript

Full TypeScript support with exported types:

import type {
  SystemIconProps,
  IllustrationIconProps,
  SystemIconSize,
  IllustrationVariant,
} from "@maqsad/icons";

License

MIT