Configure colors, fonts, density, and component variants.
Overview
You usually customize the theme by passing an options object. If you embedded ChatKit using the ChatKit quickstart, you can use the React syntax below.- React: pass options to
useChatKit({...})
Explore customization options
Visit ChatKit Studio to see the live implementation and interaction builder. If you prefer to learn by tinkering, these resources are a great starting point.Change the theme
Match your product look by specifying colors, fonts, and more. The example below switches to dark mode, updates colors, tweaks radius and density, and sets the font. See more theme options in the ChatKit type definitions:Customize start screen text
Adjust the input placeholder to guide users on what to ask or how to begin.Offer sample prompts for new conversations
Provide prompts at the start of a session to steer users toward helpful actions.Add custom buttons to the top bar
Use custom top-bar buttons for navigation, context, or integration-specific actions.Enable file attachments (in development)
Attachments are off by default. To enable them, configure the attachment options. Unless you use a custom backend, you must choose the hosted upload strategy. For other strategies with a custom backend, see the Python SDK docs. You can also control the number, size, and type of files users can upload.Enable @-mentions for entity chips (in development)
Let users @-mention custom entities to add richer context and interactions.- Use
onTagSearchto return entities for the query. - Use
onClickto handle entity click events.