Documentation Index
Fetch the complete documentation index at: https://docs.chainlit.io/llms.txt
Use this file to discover all available pages before exploring further.
Options
The name of both the application and the chatbot.
The content of the
<meta name="description"> of the application.The chain of thought (COT) is a feature that shows the user the steps the
chatbot took to reach a conclusion. You can hide the COT, only show the tool
calls, or show it in full.
Name of the theme used by default
Name of the layout used by default
Passing this option will display a Github-shaped link. If not passed we will
display the link to Chainlit repo.
Custom CSS file that allows you to customize the UI
Custom CSS file tag attributes, i.e.
<stylesheet src="public/custom.css" ... ></stylesheet>Custom JavaScript file that allows you to customize the UI
Custom JavaScript file tag attributes, i.e.
<script src="public/custom.js" ... ></script>Switch between two available alert styles:
'classic': Traditional left-border style'modern': Rounded corners with softer borders and transparent background
Custom image displayed as the background on the login page
Filter applied to the custom background image on the login page
Filter applied to the custom background image on the login page when the dark theme is selected
Content of the
<meta property="og:url"> tag. Used in link previews (e.g. iMessage, Twitter). Defaults to the Chainlit GitHub repository URL if not set.Content of the
<meta property="og:image"> tag used for site previewURL of the image used as the application logo on the welcome screen and during login/logout
URL of the image used as the avatar for messages sent by the assistant
Directory containing custom frontend production build files, if applicable
Force a specific UI language for all users, overriding the browser’s language preference.
Accepts any locale code present in
.chainlit/translations/ (e.g. en-US, fr-FR, he-IL).
When unset (default), the language is detected from the user’s browser.Since version 2.9.3.
Additional links displayed in the header next to (or replacing, if not provided) the GitHub link.
Each link supports an optional
target field to control how the link opens: _blank (default), _self, _parent, or _top.The
target field is available since version 2.8.3.Whether to show a confirmation dialog when the user clicks “New Chat”.
Set to
false to skip the dialog and immediately clear the chat.Since version 2.9.6.
Where to display chat settings.
"message_composer" shows them in a modal triggered from the composer.
"sidebar" moves them to a resizable right sidebar with a gear icon toggle in the header.Since version 2.9.6.
Whether the chat settings sidebar is open when the page loads. Only applies when
chat_settings_location is set to "sidebar".Since version 2.9.6.