Skip to content

Glide

A variable sans-serif typeface supporting weights from 400 to 900 in both roman and italic styles.

700

Glide variable font

The quick brown fox jumps over the lazy dog. 0123456789.

Glide variable font

The quick brown fox jumps over the lazy dog. 0123456789.

Regular400

The quick brown fox jumps over the lazy dog.

Medium500

The quick brown fox jumps over the lazy dog.

Semibold600

The quick brown fox jumps over the lazy dog.

Bold700

The quick brown fox jumps over the lazy dog.

Extrabold800

The quick brown fox jumps over the lazy dog.

Black900

The quick brown fox jumps over the lazy dog.

Regular Italic400

The quick brown fox jumps over the lazy dog.

Medium Italic500

The quick brown fox jumps over the lazy dog.

Semibold Italic600

The quick brown fox jumps over the lazy dog.

Bold Italic700

The quick brown fox jumps over the lazy dog.

Extrabold Italic800

The quick brown fox jumps over the lazy dog.

Black Italic900

The quick brown fox jumps over the lazy dog.

1

Download the font files

Download glide-variable.woff2 and glide-variable-italic.woff2 and place them in your project's public/ directory.

2

Configure the font in your root layout

In app/layout.tsx, import localFont and configure the Glide variable font:

app/layout.tsx
import localFont from "next/font/local";

const glide = localFont({
  src: [
    { path: "../public/glide-variable.woff2", style: "normal" },
    { path: "../public/glide-variable-italic.woff2", style: "italic" },
  ],
  variable: "--font-glide",
  weight: "400 900",
  display: "swap",
});

export default function RootLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <html lang="en">
      <body className={glide.variable}>{children}</body>
    </html>
  );
}
3

Map the CSS variable in Tailwind

In your global CSS file, map --font-glide to Tailwind's --font-sans so font-sans uses Glide:

app/globals.css
@theme inline {
  --font-sans: var(--font-glide);
}
4

Use it

Glide is now your default sans-serif font. Use font-sans with any weight from 400 to 900:

<p className="font-sans font-normal">Regular (400)</p>
<p className="font-sans font-bold">Bold (700)</p>
<p className="font-sans font-black">Black (900)</p>
<p className="font-sans font-bold italic">Bold italic (700)</p>