Skip to content

ThemeOption

type ThemeOption = {
color?: ColorOption;
colorScheme?: ColorScheme;
density?: 'compact' | 'normal' | 'spacious';
radius?: 'pill' | 'round' | 'soft' | 'sharp';
typography?: TypographyOption;
};

Visual appearance configuration options for ChatKit.

optional color: ColorOption;

Color customization options.

ColorOption


optional colorScheme: ColorScheme;

The color scheme to use for the ChatKit UI.

'light';

optional density: "compact" | "normal" | "spacious";

Determines the overall spacing of the ChatKit UI

'normal';

optional radius: "pill" | "round" | "soft" | "sharp";

Determines the overall roundness of the ChatKit UI.

'pill';

optional typography: TypographyOption;

Typography customization options.

TypographyOption