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

@genart-dev/plugin-symbols

v0.1.0

Published

Vector symbol library plugin for genart.dev — design layer rendering, Iconify integration, and symbol management tools

Readme

@genart-dev/plugin-symbols

Vector symbol library plugin for genart.dev — design layer rendering, Iconify integration, and symbol management tools. Renders SVG path data as non-destructive canvas layers with fill/stroke overrides and aspect ratio control.

Part of genart.dev — a generative art platform with an MCP server, desktop app, and IDE extensions.

Install

npm install @genart-dev/plugin-symbols

Usage

import symbolsPlugin from "@genart-dev/plugin-symbols";
import { createDefaultRegistry } from "@genart-dev/core";

const registry = createDefaultRegistry();
registry.registerPlugin(symbolsPlugin);

// Or access individual exports
import {
  symbolLayerType,
  symbolMcpTools,
} from "@genart-dev/plugin-symbols";

Layer Types (1)

Symbol (symbols:symbol, image)

Renders SVG path data as a canvas layer. Paths are stored as JSON and drawn via Path2D with viewBox-to-bounds coordinate transformation.

| Property | Type | Default | Description | |----------|------|---------|-------------| | symbolId | string | "" | Symbol ID (e.g. "ph-cat") | | iconifyId | string | "" | Original Iconify ID (e.g. "ph:cat") | | viewBox | string | "0 0 24 24" | SVG viewBox | | paths | string | "[]" | SVG path data (JSON array of { d, fill?, stroke?, strokeWidth?, role? }) | | fillOverride | string | "" | Override fill color for all paths | | strokeOverride | string | "" | Override stroke color for all paths | | preserveAspect | boolean | true | Maintain aspect ratio (letterbox) or stretch to fill |

Test Render

Symbol layer montage

24-panel montage showing the symbol layer type rendering real Iconify icons:

  • Row 1: Phosphor icons (fill style) — cat, tree, sun, heart, star, mountains
  • Row 2: Lucide icons (stroke style) — anchor, house, flower, cloud, waves, arrow-left
  • Row 3: Tabler icons (stroke style) — butterfly, planet, campfire, sailboat, kayak, wave-square
  • Row 4: Layer features — fill override (red), stroke override (green), no-aspect-preserve, fill override (blue), stroke override (gold), fill override (purple)

Regenerate with node render-test-symbols.cjs (requires canvas dev dependency and network access).

MCP Tools (7)

| Tool | Description | |------|-------------| | search_symbols | Search the symbol registry by keyword, category, and/or style | | list_symbol_categories | List all symbol categories with counts | | add_symbol | Add a registry symbol to a sketch with symbol-draw component | | remove_symbol | Remove a symbol from a sketch | | create_symbol | Create a custom symbol with SVG path data and validate it | | fetch_symbol | Search Iconify or embed an icon into a sketch (275k+ icons) | | place_symbol | Place a symbol as a symbols:symbol design layer on the canvas |

Related Packages

| Package | Purpose | |---------|---------| | @genart-dev/symbols | Symbol data registry and Iconify integration (dependency) | | @genart-dev/core | Plugin host, layer system (dependency) | | @genart-dev/mcp-server | MCP server that surfaces plugin tools to AI agents |

Support

Questions, bugs, or feedback — [email protected] or open an issue.

License

MIT