@fontsource/strichpunkt-sans

中文文档
5.3.0发布于 2026/07/19OFL-1.1TypeScriptCommonJS零依赖构建来源已验证近 30 天下载 3751

Self-host the Strichpunkt Sans font in a neatly bundled NPM package.

原始使用文档
文档目录3 节
  1. Quick Installation
  2. Licensing
  3. Other Notes

Fontsource Strichpunkt Sans

npm (scoped) Generic badge Monthly downloads Total downloads

The CSS and web font files to easily self-host the “Strichpunkt Sans” font. Please visit the main Fontsource website to view more details on this package.

Quick Installation

Fontsource offers multiple methods to import the CSS, including using a bundler like Vite or using SASS. You can find full documentation here.

npm install @fontsource/strichpunkt-sans

Within your app entry file or site component, import it in.

import "@fontsource/strichpunkt-sans"; // Defaults to weight 400
import "@fontsource/strichpunkt-sans/400.css"; // Specify weight
import "@fontsource/strichpunkt-sans/400-italic.css"; // Specify weight and style

Supported variables:

  • Weights: [400,500,600,700,800,900]
  • Styles: [normal]
  • Subsets: [latin,latin-ext]

Note: italic may not be supported by all fonts. To learn more about what weights and styles are supported, please visit the Fontsource website.

Finally, you can reference the font name in a CSS stylesheet, CSS Module, or CSS-in-JS.

body {
  font-family: "Strichpunkt Sans";
}

Licensing

Always make sure to read the license for each font you use. Most of the fonts in the collection use the SIL Open Font License, v1.1. Some fonts use the Apache 2 license. The Ubuntu fonts use the Ubuntu Font License v1.0.

Copyright 2026 The Strichpunkt Sans Project Authors (https://github.com/strichpunkt-design/Strichpunkt_Sans) OFL-1.1

Other Notes

Font version (provided by source): v1.

If you have any suggestions or ideas to improve the performance of font loading or expand the existing library, feel free to star and contribute to this repository. You can share your suggestions or ideas by creating an issue.

版本与发布记录

@fontsource/strichpunkt-sans 共发布 2 个版本,首次发布于 2026/05/17;过去 12 个月发布了 2 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
5.3.0latest2026/07/193 个月前
5.2.12026/05/175 个月前

关于 @fontsource/strichpunkt-sans 的常见问题

@fontsource/strichpunkt-sans 是什么?

Self-host the Strichpunkt Sans font in a neatly bundled NPM package.

如何安装 @fontsource/strichpunkt-sans?

在项目目录运行 npm install @fontsource/strichpunkt-sans,或使用 pnpm add / yarn add / bun add。

@fontsource/strichpunkt-sans 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@fontsource/strichpunkt-sans 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@fontsource/strichpunkt-sans 可以商用吗?

@fontsource/strichpunkt-sans 使用 OFL-1.1 许可。声明的许可为 OFL-1.1,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@fontsource/strichpunkt-sans 的下载量有多少?

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

@fontsource/strichpunkt-sans 还在维护吗?

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