pro-laico

fonts

by pro-laico
atomic-payload
Media & images
v3
>=3.0.0
MIT

Overview

Summary generated from the README

Manages custom fonts in Payload through a Font upload collection. A CLI script downloads fonts to disk for next/font/local, reading binaries from whichever storage Payload is configured with. It works with the design set when paired with the styles package, or standalone through a fontSet global. Requires Payload 3 or later.

Features

  • Font upload collection added through a Payload plugin
  • CLI script that downloads fonts to disk for next/font/local
  • Storage-agnostic reading of font binaries
  • Standalone mode using a fontSet global
  • Works with the design set when paired with the styles package
  • Export endpoint and font extraction helpers

Use cases

  • Self-host custom fonts managed in the Payload admin with next/font/local
  • Keep site fonts in sync with the active design set at build time

From the author

Atomic Payload fonts package. Provides the Font upload collection and a CLI script for downloading fonts from the active design set to disk for use with next/font/local.

Installation

npm i @pro-laico/fonts

37

Stars

0

Forks

0

Open Issues

2 months ago

Last Updated

9

Weekly Downloads

v0.5.0

npm Version

212.0 KB

Unpacked Size

4

Dependencies

Repository stars

Trends appear after 7 days of data. Collecting since Oct 22 — 2 daily snapshots so far.

Shared by 10 plugins in pro-laico/atomic-payload.

npm weekly downloads

Trends appear after 7 days of data. Collecting since Oct 22 — 2 daily snapshots so far.

Each point is npm's rolling 7-day download count.

Health Score

59/100Good

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/1128550352-fonts.svg)](https://payloaddirectory.dev/plugins/1128550352-fonts)
HTML
<a href="https://payloaddirectory.dev/plugins/1128550352-fonts"><img src="https://payloaddirectory.dev/badge/1128550352-fonts.svg" alt="Payload Directory"></a>
Updated Jul 28, 2026Created Jan 5, 2026Published Jun 27, 2026

README

Atomic Payload Fonts Plugin

Manages custom fonts in Payload and ships them to disk for next/font/local, working either with the design set (paired with @pro-laico/styles) or standalone via a fontSet global, reading binaries from whatever storage Payload is configured with. Part of Atomic Payload.

Atomic Payload dependencies

  • @pro-laico/core — kernel types and shared primitives.

Exports

ImportWhat's there
@pro-laico/fontsThe barrel: fontsPlugin (default), fontUploadField, extractFonts, and exportFontsEndpoint.
@pro-laico/fonts/schemaFont / FontSet Payload type augmentation stubs.
@pro-laico/fonts/scripts/downloadFontsrunDownloadFonts — selection resolution plus storage-agnostic download and definition generation.

Similar plugins