# @nuxt/fonts

> Automatic font configuration for Nuxt apps

Latest version **0.14.0** (published 2026-02-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @nuxt/fonts
pnpm add @nuxt/fonts
yarn add @nuxt/fonts
bun add @nuxt/fonts
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no types; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.14.0 |
| Published | 2026-02-14 |
| First published | 2024-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 15 |
| Unpacked size | 231.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 600 |
| Maintainers | nuxtbot |

## Links

- npm: https://www.npmjs.com/package/@nuxt/fonts
- Repository: https://github.com/nuxt/fonts
- Homepage: https://github.com/nuxt/fonts#readme
- Issues: https://github.com/nuxt/fonts/issues
- npm.io page: https://npm.io/package/@nuxt/fonts

## Dependencies (15)

- [h3](https://npm.io/package/h3.md) ^1.15.5
- [ufo](https://npm.io/package/ufo.md) ^1.6.3
- [defu](https://npm.io/package/defu.md) ^6.1.4
- [sirv](https://npm.io/package/sirv.md) ^3.0.2
- [pathe](https://npm.io/package/pathe.md) ^2.0.3
- [ofetch](https://npm.io/package/ofetch.md) ^1.5.1
- [consola](https://npm.io/package/consola.md) ^3.4.2
- [unifont](https://npm.io/package/unifont.md) ^0.7.4
- [fontless](https://npm.io/package/fontless.md) ^0.2.1
- [unplugin](https://npm.io/package/unplugin.md) ^3.0.0
- [@nuxt/kit](https://npm.io/package/@nuxt/kit.md) ^4.2.2
- [unstorage](https://npm.io/package/unstorage.md) ^1.17.4
- [tinyglobby](https://npm.io/package/tinyglobby.md) ^0.2.15
- [magic-regexp](https://npm.io/package/magic-regexp.md) ^0.10.0
- [@nuxt/devtools-kit](https://npm.io/package/@nuxt/devtools-kit.md) ^3.2.1

## Recent versions

- 0.14.0 (latest) — 2026-02-14
- 0.13.0 — 2026-01-22
- 0.12.1 — 2025-11-07
- 0.11.4 — 2025-05-14
- 0.11.3 — 2025-05-09
- 0.11.2 — 2025-04-24
- 0.11.1 — 2025-04-02
- 0.11.0 — 2025-03-08
- 0.10.3 — 2024-12-05
- 0.10.2 — 2024-10-23
- 0.10.1 — 2024-10-21
- 0.10.0 — 2024-10-08
- 0.9.2 — 2024-09-25
- 0.9.1 — 2024-09-24
- 0.9.0 — 2024-09-23
- … 16 more at https://npm.io/package/@nuxt/fonts/versions

## README

![nuxt-fonts](https://github.com/nuxt/fonts/assets/904724/75121716-05fd-459b-9223-42eb9dc8646f)

# Nuxt Fonts

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]
[![Volta][volta-src]][volta-href]
[![nuxt.care health](https://img.shields.io/endpoint?url=https://nuxt.care/api/badge/fonts)](https://nuxt.care/?search=fonts)

Plug-and-play custom web font optimization and configuration for Nuxt apps.

- [📖 &nbsp;Read Documentation](https://fonts.nuxt.com)
- [👾 &nbsp;Playground](https://stackblitz.com/github/nuxt/fonts/tree/main/playgrounds/basic)

## Features

- ✨ zero-configuration required
- 🔡 built-in providers (`google`, `bunny`, `fontshare`, `fontsource`, `adobe`, `npm`, `local` - more welcome!)
- 💪 custom providers for full control
- ⏬ local download support (until `nuxt/assets` lands)
- ⚡️ automatic font metric optimisation powered by [**fontaine**](https://github.com/unjs/fontaine) and [**capsize**](https://github.com/seek-oss/capsize)
- 🔥 build/dev time font caching powered by [**unstorage**](https://github.com/unjs/unstorage)

👉 See [Nuxt Fonts RFC](https://github.com/nuxt/nuxt/discussions/22014) for full details and discussion.

### Installation

Install `@nuxt/fonts` dependency to your project:

```sh
npx nuxt module add fonts
```

### Contributing

- Clone this repository
- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`
- Install dependencies using `pnpm install`
- Run `pnpm dev:prepare` to generate type stubs.
- Use `pnpm dev` to start [the basic playground](./playgrounds/basic) in development mode.

## 📑 License

Published under the [MIT License](./LICENSE)

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@nuxt/fonts/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npm.chart.dev/@nuxt/fonts

[npm-downloads-src]: https://img.shields.io/npm/dm/@nuxt/fonts.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npm.chart.dev/@nuxt/fonts/v/latest

[license-src]: https://img.shields.io/npm/l/@nuxt/fonts.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@nuxt/fonts/v/latest

[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt
[nuxt-href]: https://nuxt.com

[volta-src]: https://user-images.githubusercontent.com/904724/209143798-32345f6c-3cf8-4e06-9659-f4ace4a6acde.svg
[volta-href]: https://volta.net/nuxt/fonts?utm_source=nuxt_fonts_readme

---
_Source: https://npm.io/package/@nuxt/fonts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
