Fontsource Logo

Installation

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

⬤⬤

npm install @fontsource/dm-serif-text

sh

Import

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

400
italic

⬤⬤

import '@fontsource/dm-serif-text';

jsx

CSS

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

⬤⬤

body {
font-family: 'DM Serif Text', serif;
}

css

Font Details

Download Icon

Downloads: 331.77K

Edit Icon

Last Modified: 2025-09-02