Skip to main content

Shell

FontAssets

Inject the shared font-face declarations. The invisible magic that makes our typography look so darn good.

Curated demo

FontAssets works at the document or page shell layer. Its primary effect is part of the current route wiring rather than a visible in-body widget.

Reference

Inject the shared font-face declarations. The invisible magic that makes our typography look so darn good.

  • Render it once per document. Loading it 50 times will not make your text 50 times prettier.
  • Keep font-origin and privacy decisions consumer-owned.

Example snippet

<Fragment slot="head"><FontAssets /></Fragment>