Import
import { GoogleFonts } from "veryfront/fonts";
Examples
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
| Name | Description | Source |
|---|---|---|
GoogleFonts | Render Google fonts. | source |