Drop-in theming
Learn how to apply your custom themes to the Drop-ins SDK.
Overview
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.
Theming mechanism
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:
General
colors
Color palette used throughout the UI.
typography
Controls the font styling across the app.
Typography Variants
Each variant is an object with the following fields: fontSize
, fontWeight
, lineHeight
.