@amsterdam/design-system-assets

中文文档
2.7.0发布于 2026/10/22SEE LICENSE IN LICENSE.md零依赖构建来源已验证近 30 天下载 1.2万

All assets from the Amsterdam Design System. Use it to include the correct fonts, icons or logos in your website or application.

原始使用文档
文档目录8 节
  1. Installation
  2. Usage
  3. Application icons
  4. Font files
  5. Icons
  6. Logos
  7. Updating
  8. Support

Amsterdam Design System: Assets

This package provides all assets from the Amsterdam Design System. Use it to include the correct fonts, icons or logos in your website.

Installation

Install this package by itself to reference assets directly in your project.

Note that our React components provide more functionality for some of the assets and use them automatically. You should use that package if your application uses React.

npm install @amsterdam/design-system-assets

Usage

Application icons

The Design System handbook helps using a favicon or a web manifest and application icons for home screens of devices in your websites.

Font files

The package contains our Amsterdam Sans font in Web Open Format Font (.woff2). Import our stylesheet to make them available to your project.

import "@amsterdam/design-system-assets/font/index.css"

The Design System Handbook offers more guidance in using the font.

Note that the font is proprietary. Using it requires a license.

The package also contains the Redacted Script font, which replaces text with squiggles in the Lo-fi Mode of the Design System. Import its stylesheet alongside the Lo-fi tokens.

import "@amsterdam/design-system-assets/font/lo-fi/index.css"

This font is open source, licensed under the SIL Open Font License.

Icons

The Design System Handbook offers an overview of our icon library.

You can import the SVG files to use icons in your websites.

In a React project, use the Icon component instead. It offers a convenient API for using the icons and streamlines alignment with text.

Logos

The logo of the City of Amsterdam is available as an SVG image, as well as logos for various departments and services.

In a React project, use the Logo component instead.

Updating

We follow semantic versioning and publish a change log to guide you through updates. The assets are a public API of the design system. Note that detecting changed or deleted assets is still a manual process.

Support

Contact us if you have a question, find an issue, or want to contribute. Find ways to reach us on designsystem.amsterdam.

版本与发布记录

@amsterdam/design-system-assets 共发布 23 个版本,首次发布于 2023/07/12;过去 12 个月发布了 8 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
2.7.0latest2026/10/2216 天前
2.6.02026/08/092 个月前
2.5.02026/07/133 个月前
2.4.02026/06/244 个月前
2.3.02026/04/206 个月前
2.2.02026/04/037 个月前

关于 @amsterdam/design-system-assets 的常见问题

@amsterdam/design-system-assets 是什么?

All assets from the Amsterdam Design System. Use it to include the correct fonts, icons or logos in your website or application.

如何安装 @amsterdam/design-system-assets?

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

@amsterdam/design-system-assets 支持 TypeScript 吗?

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

@amsterdam/design-system-assets 可以商用吗?

@amsterdam/design-system-assets 使用 SEE LICENSE IN LICENSE.md 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@amsterdam/design-system-assets 的下载量有多少?

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

@amsterdam/design-system-assets 还在维护吗?

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