Skip to content
CoristenCoristen
Esc
↑↓navigate↵open⌘Jpreview
On this page

Appearance

Set the widget theme, text, and corner radius.

Use Experiences > Live chat to set the chat appearance. Use Experiences > Contact form to set the form appearance. The widgets use the same API key pair. Their appearance settings can be different.

Set the theme

Select Default to use the website theme. Select Light or Dark to use a fixed theme.

Set the corner radius

Select None, Small, Medium, or Large. The widgets can use radius variables from your website. An explicit appearance.radius value takes priority over those variables.

Use the website font

Load the font before you add a widget. The widget uses the font from its parent element.

html {
  font-family: "Your product font", sans-serif;
}

Set an appearance for one installation

Use appearance to change a widget in one part of your application.

<CoristenWidget
  apiKey="coristen_pk_..."
  appearance={{ theme: "dark", radius: "lg" }}
/>

The same prop is available on the contact form, dock, and modal. The CSS file applies widget styles only to Coristen elements. It does not replace your website styles.

Was this page helpful?