@bcc-code/icons

中文文档
1.5.4发布于 2026/09/08Apache-2.0零依赖构建来源已验证近 30 天下载 9845

Icons used in the BCC design system, adapted from Material Symbols.

原始使用文档
文档目录6 节
  1. Installation & Usage
  2. Updating Icons
  3. Custom/Override Icons
  4. Google Icons
  5. Releasing a new version
  6. License

bcc-icons

Icons used in the BCC design system, adapted from Material Symbols.

version license install size

The basis of this package are the rounded SVG icons from Material Symbols. Some icons might be redesigned by the design team in the future and replace the default icons.

Installation & Usage

Refer to the documentation for installation instructions and usage information.

Updating Icons

Custom/Override Icons

Add custom icons to then custom-icons folder. These will be merged on to the default icons during build.

Ensure to replace the fill attribute with currentColor to allow for color overrides.

Google Icons

Do not edit icons in the google-icons directory, instead add a file with the same name in the custom-icons which will then override the same google icon

pnpm install

Download and optimise the Google icons:

pnpm google-icons

Releasing a new version

A new version can be released by running the Create New Version workflow from GitHub. This will update the version in the package.json, push a Git commit and tag, and create a new release in GitHub. Maintainers can publish this release, after which the new version will be pushed to npm with the latest tag.

All commits to master will be released under the dev tag on npm, so they can be tested and installed immediately even if a new release hasn't come out.

License

This package is licensed under the Apache 2.0 license.

版本与发布记录

@bcc-code/icons 共发布 61 个版本,首次发布于 2023/03/03;过去 12 个月发布了 7 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.5.4latest2026/09/081 个月前
1.5.32026/07/034 个月前
1.5.22026/07/034 个月前
1.5.12026/07/024 个月前
1.5.02026/05/215 个月前
0.0.0-dev.7830bdddev2026/01/309 个月前

关于 @bcc-code/icons 的常见问题

@bcc-code/icons 是什么?

Icons used in the BCC design system, adapted from Material Symbols.

如何安装 @bcc-code/icons?

在项目目录运行 npm install @bcc-code/icons,或使用 pnpm add / yarn add / bun add。

@bcc-code/icons 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/bcc-code__icons 是否存在。

@bcc-code/icons 可以商用吗?

@bcc-code/icons 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@bcc-code/icons 的下载量有多少?

根据 npm 官方下载统计,@bcc-code/icons 在 2026/10/08 – 2026/11/06 这 30 天内被下载 9,845 次,日均约 328 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@bcc-code/icons 还在维护吗?

最新版本 1.5.4 发布于 2026/09/08(1 个月前);至今共发布 61 个版本,其中过去 12 个月发布了 7 个;首次发布于 2023/03/03。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。