@fontsource/fredoka-one

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

Self-host the Fredoka One font in a neatly bundled NPM package.

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

Fontsource Fredoka One

npm (scoped) Generic badge Monthly downloads Total downloads GitHub stars

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

Quick Installation

Fontsource has a variety of methods to import CSS, such as using a bundler like Webpack. Alternatively, it supports SASS. Full documentation can be found here.

npm install @fontsource/fredoka-one

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

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

Supported variables:

  • Weights: [400]
  • Styles: [normal]
  • Subsets: [latin]

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

body {
  font-family: "Fredoka One;
}

Licensing

It is important to always read the license for every font that 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 (c) 2011 Milena B Brandao ([email protected]), with Reserved Font Name "Fredoka" OFL-1.1

Other Notes

Font version (provided by source): v13. Feel free to star and contribute new ideas to this repository that aim to improve the performance of font loading, as well as expanding the existing library we already have. Any suggestions or ideas can be voiced via an issue.

版本与发布记录

@fontsource/fredoka-one 共发布 32 个版本,首次发布于 2020/12/24;过去 12 个月发布了 1 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
5.3.0latest2026/07/193 个月前
5.2.52025/03/021.7 年前
5.2.42025/03/021.7 年前
5.2.12025/03/021.7 年前
5.2.02025/03/021.7 年前
5.1.02024/09/122 年前

关于 @fontsource/fredoka-one 的常见问题

@fontsource/fredoka-one 是什么?

Self-host the Fredoka One font in a neatly bundled NPM package.

如何安装 @fontsource/fredoka-one?

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

@fontsource/fredoka-one 支持 TypeScript 吗?

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

@fontsource/fredoka-one 可以商用吗?

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

@fontsource/fredoka-one 的下载量有多少?

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

@fontsource/fredoka-one 还在维护吗?

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