Skip to main content

Documentation Index

Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

veryfront/fonts

Load Google Fonts as a React component.

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

NameDescriptionSource
GoogleFontsRender Google fonts.source

Types

NameDescriptionSource
FontPublic API contract for font.source
GoogleFontsPropsProps accepted by Google fonts.source
Reference modules: User guides: