Customization
Fonts
Customize the typography of your project's user interface.
Chat SDK ships with Geist as the default font family, for both mono
and sans
styles.
The easiest way to change the font is to use next/font
to import the font family and add it to your Tailwind CSS config.
In the example below, we use the font Inter from next/font/google
(you can use any font from Google or Local Fonts). Load your font with the variable option to define your CSS variable name and assign it to inter. Then, use inter.variable to add the CSS variable to your HTML document.
Finally, add the CSS variable to your Tailwind CSS config:
The updated fonts should now be applied to your project's user interface.