Setup
Seamlessly blend text styles into your design.
Visit Fontsource for fonts.
For this example, we will use Nunito Sans.
npm install @fontsource-variable/nunito-sans
Import the font in your root layout.
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
You can now use it in your main CSS file.
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |