@mocanvas/editor · interface
interface TLThemeFontOne selectable typeface: the stack shapes render with, the faces to load, and what the picker shows.
icon is a rendered preview rather than a name because a font picker that
lists names tells you nothing — the whole question is what the letters look
like.
Properties · 3
faces?: readonly TLFontFace[]The faces to load before text in this font is painted.
fontFamily: stringThe CSS font-family value shapes using this font resolve to.
icon?: ReactNodeWhat the picker draws for this font. Usually a sample of letterforms.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.