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

@quickbuilder.io/icons

v1.1.0

Published

Canonical Quick Builder icon path catalog and contracts

Readme

@quickbuilder.io/icons

Canonical Quick Builder icon contracts, maintained SVG path catalog, framework adapter metadata, and SVG sanitation helpers.

The first release is 1.0.0. The package includes licensed SVG artwork. See artwork notices for the sources and distribution terms.

The catalog contains 11,994 names and 35,254 variants. Every public variant is available from the catalog, and named pack exports cover each pack collection. Collection IDs and individual glyph imports are stable across the artwork review. The source, sourceVersion, sourcePath and license fields on imported variants identify their artwork.

Contract

  • quickbuilder is the built-in first-party icon library.
  • custom-svg is the only custom icon library boundary.
  • Unknown Quick Builder icon names resolve to no paths. React consumers fail with a typed design-system resolution error, so missing catalog ownership cannot ship silently.
  • Binding helpers return null when resolution has no renderable geometry. Registration, replacement, and clearing share one registry across the root, /contracts, /adapters, and /react within each module format.
  • An explicit registered variant selects that exact representation. Unknown variants return null; pack, style, and catalog defaults cannot substitute another variant. Original top-level paths remain addressable as base alongside named pack variants. SVG registrations use their declared variant, or base when no variant is declared.
  • A missing or unusable declared default variant also returns null; the resolver does not select another representation or base paths to conceal the invalid declaration.
  • Custom SVG markup is accepted only after the package sanitizer rejects active content, event handlers, unsafe URL protocols, and external paint references.
  • The passive SVG grammar accepts geometry, groups, definitions, local fragment references, gradients, clipping, masks, patterns, and title/description text. It rejects scripts, SMIL, foreign content, external resources, unknown elements/attributes, malformed XML, duplicate attributes, and encoded or CSS-escaped network paint. Presentation-only style declarations are supported. Input is bounded to 262,144 UTF-16 code units, 1,024 elements, 64 nesting levels and 64 attributes per element. Binding serialization escapes every attribute and applies the same validator to structured paths.
  • Invalid explicit SVG rejects resolution before another geometry source can be selected. Explicit path-node kinds must be supported SVG geometry; an invalid node rejects the whole icon and its bindings. Omitted or undefined node kinds retain the path default, and string paths remain supported.

Use this package instead of importing third-party icon component libraries from builder/runtime/export paths.

The unsafe sanitizeQuickBuilderHtml helper was removed from this package and all SDK re-exports: its regex substitutions did not provide an HTML security boundary, and general HTML is outside icon ownership. Use the rich-text owner's document contract for rich content. SDK HTML export accepts structured style property maps; migrate CSS declaration strings to those maps. No compatibility sanitizer or permissive secondary reader is retained.

Framework entrypoints

Use the package root for framework-neutral icon resolution, sanitization, and binding data:

import {
  createVueIconBinding,
  resolveQuickBuilderIcon,
} from "@quickbuilder.io/icons";

createVueIconBinding returns a serializable VueQuickBuilderIconBinding DTO with Vue-shaped class and attrs fields. It does not mount a Vue component, install Vue lifecycle behavior, or imply that an @quickbuilder.io/icons/vue runtime entrypoint exists.

Use the certified React adapter entrypoint when producing React-shaped SVG props:

import { createReactQuickBuilderIconBinding } from "@quickbuilder.io/icons/react";

const icon = createReactQuickBuilderIconBinding(
  { library: "quickbuilder", name: "sparkles" },
  { className: "feature-icon", size: 24 },
);

The /react entrypoint is the implemented React adapter contract. It remains runtime-light and returns binding data; React component rendering belongs to the React design-system icon component. A future /vue entrypoint must provide and verify a real Vue adapter before it is advertised as supported.

Use resolveReactQuickBuilderIconBinding from /react when a renderer needs React props and SVG markup together. The result includes the resolved icon, its binding and validated inline markup from one resolution. Invalid or unavailable icons return null for the icon and binding.

Explicit binding strokeWidth overrides catalog path widths for stroked geometry. Omitted widths preserve catalog geometry; paths with stroke: "none" retain their fill-only definition. Sanitized SVG markup remains authored SVG.

Catalog validation

The root exports objectAlignLeftIcon, objectAlignCenterHorizontalIcon, objectAlignRightIcon, objectAlignTopIcon, objectAlignCenterVerticalIcon, objectAlignBottomIcon, and objectAlignCenterIcon. These compact, filled single-object alignment glyphs use the same catalog/resolver and design-system Icon renderer as the rest of the library. Their registered names are object-align-left, object-align-center-horizontal, object-align-right, object-align-top, object-align-center-vertical, object-align-bottom, and object-align-center.

Run npm run validate:catalog after building to verify native Node ESM imports of the public catalog exports and exact runtime identity and path equality for every indexed variant. The build runs this check automatically, including original paths, numeric icon names, Brands, and SVG registration identities.

Pack generation validates and renders the catalog before changing generated sources. Identical packs retain their bytes, permissions, and timestamps; removed variants are pruned after successful rendering without replacing the packs directory. Malformed catalog input leaves the previous generated sources intact.

Run npm run test:bindings and npm run validate:bindings after building to verify the corpus through public ESM and CommonJS exports. The validator registers the catalog through the root, then exercises each indexed variant through all twelve named binding helpers and the generic helper at both the root and /adapters, plus the implemented /react binding. It checks exact metadata, target-specific DTO shapes, SVG bindings, and rejection of unknown variants and unsafe content. Both commands are included in validate:package. To save a report, use npm run validate:bindings -- --output /absolute/path/to/icons.json.

Published subpaths use the same built declarations under TypeScript's Node10, Node16 CommonJS/ESM, and bundler resolution modes. Explicit typesVersions entries route older TypeScript resolution to the canonical dist artifacts; runtime imports use the package export map. The binding tests check an isolated packed package, including every actual packs/* member and the catalog JSON.

Binding data conformance does not certify a native framework UI adapter, rendering, hydration, accessibility, motion, or visual parity. Unsupported framework entrypoints remain unsupported. frameworkAdapterSupport declares the implemented runtime-free /react binding and explicitly marks Vue, Preact, Qwik, Astro, Svelte, Solid, and Web Components as unsupported framework entrypoints. The generic binding helpers do not change those support statuses.

For core controls, use the independent public module to avoid parsing a whole pack during development:

import { starIcon } from '@quickbuilder.io/icons/glyphs/material-icons-filled/starIcon';

Each module exports the original named definition with identical geometry and variant/provenance metadata. The existing generator derives these modules from the canonical pack source. They contain no resolver, registry, framework runtime or import of the complete pack. Complete packs remain available for catalog tools. Supported Node 22/24 runtimes and native/browser bundlers receive the same named definition through the package's ESM and CommonJS artifacts and declarations.

The independent control surface is declared by named selectors in src/glyph-modules.json. Full pack exports continue to provide every catalog variant. Adding a control glyph requires updating that selection and rebuilding; unsupported individual paths fail explicitly. The selection contains no geometry and creates no second registry or resolver.