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

bisheng-icons

v0.2.22

Published

Bisheng Design System 图标库 —— 独立可安装的 React 图标组件包

Readme

bisheng-icons

Bisheng Design System 图标库 —— 独立可安装的 React 图标组件包。

源于 bisheng-design-system,图标由 Figma 设计源自动生成、按 semver 发版。使用方无需引入整个 design system,只装这个包即可使用图标。

安装

npm install bisheng-icons

需要宿主项目已安装 react(>= 17)。

也可以直接从 GitHub 仓库安装(需有访问权限):

npm install github:dataelement/bisheng-icon

使用

图标按风格分为两个命名空间:Outlined(线性)和 Filled(填充)。

import { Outlined, Filled } from 'bisheng-icons';

export function Demo() {
  return (
    <>
      <Outlined.Check size={24} />
      <Outlined.ArrowRight size={20} strokeWidth={3} color="#0066ff" />
      <Filled.CheckCircle size={24} color="#22c55e" />
    </>
  );
}

Props

所有图标共享 IconProps

| 属性 | 类型 | 默认值 | 说明 | | ------------- | ------------------ | ---------------- | -------------------------------------------------- | | size | number \| string | 24 | 同时设置 width 和 height | | color | string | 'currentColor' | 图标颜色(描边和填充同时着色) | | strokeWidth | number \| string | 跟随 Figma | 描边宽度,仅对有描边的元素生效 |

也支持透传任意 SVGProps<SVGSVGElement>(如 classNameonClickref 等)。

关于描边宽度

  • 默认值跟随 Figma 设计稿里的实际线宽
  • 缩放图标时,描边按比例同步缩放(strokeWidth=2 在 12×12 渲染时,实际线宽 1px)
  • 想要在小尺寸下保持视觉粗细,传一个更大的 strokeWidth 覆盖即可:<Outlined.Foo size={12} strokeWidth={3} />
  • Filled 命名空间下的纯填充图标不受 strokeWidth 影响

开发

npm install      # 安装依赖(会自动触发一次 build)
npm run build    # 打包:输出 ESM + CJS + .d.ts 到 dist/
npm run dev      # watch 模式
npm run typecheck

License

MIT