veryfront/fonts

Import

TypeScript
import { GoogleFonts } from "veryfront/fonts";

Examples

TSX
import { GoogleFonts } from "veryfront/fonts"; <GoogleFonts  fonts={[    { name: "Inter", weights: [400, 500, 700], variable: "--font-inter" },    { name: "Fira Code", weights: [400], variable: "--font-mono" },  ]}/>;

Exports

Components

NameDescriptionSource
GoogleFontsRender Google fonts.source

Types

NameDescriptionSource
FontPublic API contract for font.source
GoogleFontsPropsProps accepted by Google fonts.source