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

@sigx/lynx-icons

v0.35.0

Published

Icon component and registry for sigx-lynx — works with adapter packages like @sigx/lynx-icons-fa-free, @sigx/lynx-icons-lucide and @sigx/lynx-icons-mdi.

Downloads

2,117

Readme

@sigx/lynx-icons

<Icon set name /> for sigx-lynx, with build-time tree-shaking so only the glyphs you actually render ship in the bundle. Pairs with adapter packages — @sigx/lynx-icons-fa-free for Font Awesome Free, @sigx/lynx-icons-lucide for Lucide, @sigx/lynx-icons-mdi for Material Design Icons — and is wired by @sigx/lynx-plugin's icons slice.

📚 Documentation

Full config, dynamic names, custom sets, adapter contract and live examples → sigx.dev/lynx/modules/icons/overview

Install

pnpm add @sigx/lynx-icons @sigx/lynx-icons-fa-free
pnpm add @fortawesome/fontawesome-free @fortawesome/free-solid-svg-icons
// signalx.config.ts
import { defineLynxConfig } from '@sigx/lynx-cli/config';

export default defineLynxConfig({
    iconSets: [
        { id: 'fa', source: '@sigx/lynx-icons-fa-free', styles: ['solid'] },
    ],
});

pnpm dev / sigx build does the rest — @sigx/lynx-plugin scans your .tsx for <Icon set= name=> usages, asks the adapter for each glyph, and bundles only the referenced glyphs.

A taste

import { Icon } from '@sigx/lynx-icons';

<Icon set="fa" name="user" />
<Icon set="fa" name="house" size={20} color="#0D9488" />
<Icon set="lucide" name="search" size={16} />
<Icon set="lucide" name="quote" size={16} scaleWithText={true} />

OS font scale

Icons hold their designed size (dp) regardless of the system text-size setting — the layout-stable default for chrome like tab bars and headers (font-mode glyphs are counter-scaled internally so the engine's text scaling can't grow them out of their box). For icons sitting inline with scaling text, pass scaleWithText: glyph and box grow together by the effective scale (useFontScale()), live, identically on the svg and font backends.

Forcing dynamic names into the bundle (include: [...] / include: ['*']), one-off defineIconSet icons, writing your own adapter, and the x86_64-emulator blank-icon caveat are all documented on the docs site.

Color

Glyph markup is standard SVG that paints from currentColor. <Icon> resolves one color — explicit color, else the theme resolver's answer (a daisy variant becomes the palette hex), else currentColor — and on iOS/Android hands it to the engine as the <svg> element's current-color attribute (Lynx 4.0+; #949). Two things the engine does not do, probed on device: it never inherits the host element's CSS color into the SVG, and it does not evaluate var(--token) in the attribute — so pass a concrete color, or let a theme resolve the token first. Custom sets (defineIconSet) are plain SVG; the older __COLOR__ placeholder still works as an alias of currentColor.

Web

Supported on web (sigx run:web) with no extra setup. <Icon> renders through Lynx's <svg content={…}>, which @lynx-js/web-core maps to upstream's x-svg element — that turns the inline SVG into a blob URL on an <img>, so glyphs paint exactly as bundled. The signalx-module.json here only pulls the native XElement/SVG dependency on iOS and Android; a web build has nothing to link and needs no sigx prebuild.

As on native, the SVG is parsed in isolation from the host document, so give the icon a concrete color (or a theme variant, which <ThemeProvider> resolves to the palette hex) rather than expecting it to inherit the host's color or evaluate a var(--token). The difference is only in transport: web has no current-color attribute, so here the resolved color is substituted into the markup's currentColor paints (svg-color.web.ts) before it reaches x-svg.

One prop is inert there: scaleWithText. No web publisher writes lynx.__globalProps.fontScale, so useFontScale() stays at 1 and the icon keeps its designed size whether or not you opt in — the same gap @sigx/lynx-core and @sigx/lynx-appearance document. Sizing, color/variant and the missing-glyph placeholder are unaffected.

License

MIT