Fontsource Logo

Installation

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

⬤⬤

npm install @fontsource-variable/danfo

sh

Import

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

ELSH

⬤⬤

// Supports only weight 400
import '@fontsource-variable/danfo';

jsx

CSS

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

⬤⬤

body {
font-family: 'Danfo Variable', serif;
}

css

Font Details

Download Icon

Downloads: 2.12K

Edit Icon

Last Modified: 2025-09-05