Drop-in theming
Drop-in theming
Learn how to apply your custom themes to the Drop-ins SDK.
Drop-in theming
Learn how to apply your custom themes to the Drop-ins SDK.
By default, the Drop-in SDK applies Monite’s standard styling. However, you may want to customize this styling to better align with your website’s design or brand identity.
While the fundamental layouts of these Monite components are immutable, you can customize other component properties like colors, fonts, borders, etc.
To customize the components, pass your custom theme object 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.