@gov-design-system-ce/icons

中文文档
4.7.3发布于 2026/10/21EUPL-1.2零依赖近 30 天下载 1.3万

This package includes Gov Design System CE Icons.

原始使用文档

Gov Design System - Icons

This package includes Gov Design System CE Icons.

https://designsystem.gov.cz/

lib/ is the canonical source — do not edit the copies

packages/icons/lib is the only place icon SVGs are authored. Every other icon directory in the repository is generated, gitignored, and overwritten on the next build — editing one loses the work:

Generated destinationProduced by
dist/packages/iconsicons:build (published package)
dist/packages/core/www/build/assets/iconsicons:serve (core playground)
packages/templates/src/public/assets/design-system/iconstemplates → assets:copy-icons (Fractal)
packages/docs/public/assets/iconsdocs → assets:copy-icons (VitePress)

All four are filled by scripts/sync-icons.js, which mirrors lib/ — it discovers the sets from the filesystem and removes anything the source no longer has, so a destination cannot drift from lib/. Adding a set is therefore just a new directory here; no build script names the sets. Sprite filenames in webpack.config.js are derived the same way.

The one exception is packages/docs/public/assets/icons/custom: five technology logos owned by the documentation, committed to the repository, and excluded from the mirror via --keep custom. They are not part of the design system.

Copyright(c) 2020 - 2026 Digitální a informační agentura

版本与发布记录

@gov-design-system-ce/icons 共发布 25 个版本,首次发布于 2023/02/15;过去 12 个月发布了 8 个版本。

版本发布日期距今
4.7.3latest2026/10/2126 天前
4.7.22026/10/151 个月前
4.7.12026/09/241 个月前
4.7.02026/08/192 个月前
4.6.42026/07/024 个月前
4.6.32026/05/215 个月前

关于 @gov-design-system-ce/icons 的常见问题

@gov-design-system-ce/icons 是什么?

This package includes Gov Design System CE Icons.

如何安装 @gov-design-system-ce/icons?

在项目目录运行 npm install @gov-design-system-ce/icons,或使用 pnpm add / yarn add / bun add。

@gov-design-system-ce/icons 支持 TypeScript 吗?

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

@gov-design-system-ce/icons 可以商用吗?

@gov-design-system-ce/icons 使用 EUPL-1.2 许可。声明的许可为 EUPL-1.2,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@gov-design-system-ce/icons 的下载量有多少?

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

@gov-design-system-ce/icons 还在维护吗?

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