Fontsource Logo

Google Sans Flex

sans-serif
google

Installation

Install the variable version of this font by running the following command:

⬤⬤

npm install @fontsource-variable/google-sans-flex

sh

Import

Include the following line in the root layout of your project to import the font:

opsz
slnt
wdth
wght
GRAD
ROND

⬤⬤

// Supports weights 100-900
import '@fontsource-variable/google-sans-flex';

jsx

CSS

Include the CSS in your project by adding the following line to your project:

⬤⬤

body {
font-family: 'Google Sans Flex Variable', sans-serif;
}

css

Font Details

Download Icon

Downloads: 9.16K

Edit Icon

Last Modified: 2025-12-11