Skip to main content
Chainlit Application allows for design customization through the use of a custom CSS stylesheet. To enable this, modify your configuration settings in .chainlit/config.toml.
config.toml
At the moment, we do not provide a detailed guide of all the available css classes. It is up to you to dig in the Web Inspector and find the css class you wish to override.
Once the configuration is updated, restart the application. Your custom styling will now be applied.

CSS Variables

Chainlit exposes CSS variables that let you customize specific UI elements without digging into class names.

Stop Icon & Loading Cursor

You can override the appearance and animation of the stop button icon and the loading (blinking) cursor:
Since version 2.11.0.