All Monite components use the default component styling by default. However, there may be scenarios where you want to customize this default styling to match the look and feel of your website’s design or brand identity.
While the fundamental layouts of these Monite components are immutable, you can customize other component properties, such as colors, fonts, borders, etc.
To customize the components, pass your custom theme object to the React SDK using the theme prop on the MoniteProvider. The following snippet shows an example theme object with all possible options using default values:
Here is a description of all the possible options for the theming object, which allows you to customize the visual style of Monite UI components:
colorsColor palette used throughout the UI.
typographyControls the font styling across the app.
Each variant is an object with the following fields: fontSize, fontWeight, lineHeight.