Fontsource Logo

Installation

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

⬤⬤

npm install @fontsource-variable/encode-sans-sc

sh

Import

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

wdth
wght

⬤⬤

// Supports weights 100-900
import '@fontsource-variable/encode-sans-sc';

jsx

CSS

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

⬤⬤

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

css

Font Details

Download Icon

Downloads: 9.06K

Edit Icon

Last Modified: 2025-09-11