nx.js
Variables

fonts

fonts: FontFaceSet

Contains the available fonts for use on the screen Canvas context. By default, "system-ui" is the only font available, which is the system font provided by the Switch operating system.

Demo

See the fonts application for an example of using custom fonts.

On this page