Open Sans

sans-serif
google
Download

Getting Started

Documentation

Installation

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

⬤⬤

npm install @fontsource-variable/open-sans

sh

Import

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

ital
wdth
wght

⬤⬤

// Supports weights 300-800
import '@fontsource-variable/open-sans';

jsx

CSS

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

⬤⬤

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

css

Font Details

Downloads: 9.13M

Last Modified: 2023-12-14