Theme the chatbar, set placeholders, and style the widget to match your brand.
Theme
Set the overall color scheme with the theme option:
embedWidget({ url: 'https://console.thesys.dev/app/your-slug', theme: 'light', // 'dark' (default) or 'light'});
This affects the floating button, loading screen, and the overall widget chrome. The agent content inside the iframe is styled independently through the Agent Builder style settings.
Chatbar Theming
The chatbar layout supports fine-grained visual customization through the options.theme property. Each value maps to a CSS variable on the chatbar container.
All properties are optional. Unset properties use the defaults from the widget’s dark or light theme.
To match your site’s design exactly, inspect the chatbar element in DevTools and override additional CSS variables on the .thesys--chatbar-widget selector.
Chatbar Options
Beyond theming, the chatbar accepts functional options:
embedWidget({ url: '...', type: 'chatbar', options: { placeholder: 'Search our knowledge base...', keyboardShortcutEnabled: false, conversationStarters: [ 'What features do you offer?', 'How does pricing work?', ], },});
Option
Type
Default
Description
placeholder
string
"Ask me anything"
Input placeholder text
keyboardShortcutEnabled
boolean
true
Allow Space to focus the input from anywhere on the page
By default, the agent iframe loads when the user first opens the widget. To eliminate that initial load delay, enable preloading:
// Preload immediatelyconst widget = embedWidget({ url: '...', preload: true,});// Or preload later based on user behaviorwidget.preload();
The iframe loads invisibly in the background so the agent is ready instantly when the user opens it.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Thesys Documentation","colors":{"primary":"#8B5CF6","light":"#8B5CF6","dark":"#8B5CF6"},"logo":{"light":"https://mintcdn.com/thesys/Ix1JbpbB1tWCO3US/logo/light.svg?fit=max\u0026auto=format\u0026n=Ix1JbpbB1tWCO3US\u0026q=85\u0026s=b402e9b4308b19551e2db284d332d42e","dark":"https://mintcdn.com/thesys/Ix1JbpbB1tWCO3US/logo/dark.svg?fit=max\u0026auto=format\u0026n=Ix1JbpbB1tWCO3US\u0026q=85\u0026s=1ef66089195e3e1d00dbe6cee8707418"},"favicon":"https://mintcdn.com/thesys/C1mGp0p_ygBsZ7UI/favicon.svg?fit=max\u0026auto=format\u0026n=C1mGp0p_ygBsZ7UI\u0026q=85\u0026s=5fe35350b85f0947e9a3c66a440ddbcb","api":{"playground":{"display":"simple"}},"navbar":{"links":[{"href":"https://www.openui.com/docs","label":"OpenUI Docs"},{"href":"https://zcal.co/zahle/30min","label":"Ask our Dev"}],"primary":{"type":"button","label":"Get API Key","href":"https://console.thesys.dev"}},"footer":{"socials":{"x":"https://x.com/thesysdev","github":"https://github.com/thesysdev","linkedin":"https://linkedin.com/company/thesysdev","youtube":"https://www.youtube.com/@thesysdev","discord":"https://discord.gg/Pbv5PsqUSv"}},"seo":{"metatags":{"canonical":"https://docs.thesys.dev"}},"banner":{"content":"You are reading the archived C1 by Thesys docs. New projects should use [the OpenUI docs](https://www.openui.com/docs).","dismissible":false},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"OpenUI Docs","icon":"arrow-right","href":"https://www.openui.com/docs"},{"anchor":"Developer Tools","icon":"wrench","href":"https://docs.thesys.dev/legacy/developer-tools"},{"anchor":"AI Coding IDE Setup","icon":"code","href":"https://docs.thesys.dev/legacy/guides/ide-setup"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/Pbv5PsqUSv"},{"anchor":"Get Support","icon":"headset","href":"mailto:support@thesys.dev"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"thesys","hasAudioNarration":false,"actualSubdomain":"thesys","customDomains":["docs.thesys.dev"],"gitSource":{"type":"github","owner":"thesysdev","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10b10d9ffae5051c3fecb3"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af1c79712241f5ef5b8cf1f","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"Guide","count":67},{"language":"default","tag":"Reference","count":14},{"language":"default","tag":"Artifacts","count":13},{"language":"default","tag":"Ecosystem","count":13},{"language":"default","tag":"Advanced","count":12},{"language":"default","tag":"API","count":10},{"language":"default","tag":"legacy/Frameworks","count":10},{"language":"default","tag":"Agent Builder","count":9},{"language":"default","tag":"Conversational UI","count":9},{"language":"default","tag":"Library","count":9}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles/deprecated-models.css","content":".deprecated-models{text-decoration:line-through;color:rgb(248, 105, 86)!important}"},{"filePath":"styles/models-pricing.css","content":".model-details [data-component-part=\"update-tag\"]{color:rgb(44, 133, 104)}.dark .model-details [data-component-part=\"update-tag\"]{color:rgb(6, 197, 137)}"}]}
{"page":{"pagePath":"legacy/agent-builder/embed-widget/customization","slug":"/legacy/agent-builder/embed-widget/customization","pageMetadata":{"title":"Customization","sidebarTitle":"Customization","description":"Theme the chatbar, set placeholders, and style the widget to match your brand.","href":"/legacy/agent-builder/embed-widget/customization"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Theme the chatbar, set placeholders, and style the widget to match your brand.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`theme`,children:`Theme`}),`\n`,_jsxs(_components.p,{children:[`Set the overall color scheme with the `,_jsx(_components.code,{children:`theme`}),` option:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`embedWidget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://console.thesys.dev/app/your-slug'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` theme:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'light'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// 'dark' (default) or 'light'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This affects the floating button, loading screen, and the overall widget chrome. The agent content inside the iframe is styled independently through the Agent Builder style settings.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`chatbar-theming`,children:`Chatbar Theming`}),`\n`,_jsxs(_components.p,{children:[`The chatbar layout supports fine-grained visual customization through the `,_jsx(_components.code,{children:`options.theme`}),` property. Each value maps to a CSS variable on the chatbar container.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`embedWidget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://console.thesys.dev/app/your-slug'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'chatbar'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` options:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` theme:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` containerFills:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '#1a1a2e'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` strokeDefault:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '#333366'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` roundedL:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '24px'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` primaryText:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '#e0e0ff'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` interactiveAccent:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '#7c3aed'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accentPrimaryText:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '#ffffff'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` roundedS:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '12px'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`theme-properties`,children:`Theme Properties`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`CSS Variable`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`containerFills`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--crayon-container-fills`})}),_jsx(_components.td,{children:`Background color of the chatbar input area`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`strokeDefault`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--crayon-stroke-default`})}),_jsx(_components.td,{children:`Border color of the input area`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`roundedL`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--crayon-rounded-l`})}),_jsx(_components.td,{children:`Border radius of the entire chatbar`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`primaryText`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--crayon-primary-text`})}),_jsx(_components.td,{children:`Color of the input text`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`interactiveAccent`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--crayon-interactive-accent`})}),_jsx(_components.td,{children:`Background color of the send button`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`accentPrimaryText`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--crayon-accent-primary-text`})}),_jsx(_components.td,{children:`Icon/text color on the send button`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`roundedS`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--crayon-rounded-s`})}),_jsx(_components.td,{children:`Border radius of the send button`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`All properties are optional. Unset properties use the defaults from the widget’s `,_jsx(_components.code,{children:`dark`}),` or `,_jsx(_components.code,{children:`light`}),` theme.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`To match your site’s design exactly, inspect the chatbar element in DevTools and override additional CSS variables on the `,_jsx(_components.code,{children:`.thesys--chatbar-widget`}),` selector.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`chatbar-options`,children:`Chatbar Options`}),`\n`,_jsx(_components.p,{children:`Beyond theming, the chatbar accepts functional options:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`embedWidget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '...'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'chatbar'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` options:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` placeholder:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Search our knowledge base...'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` keyboardShortcutEnabled:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` conversationStarters:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'What features do you offer?'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'How does pricing work?'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`placeholder`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"Ask me anything\"`})}),_jsx(_components.td,{children:`Input placeholder text`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`keyboardShortcutEnabled`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsxs(_components.td,{children:[`Allow `,_jsx(_components.strong,{children:`Space`}),` to focus the input from anywhere on the page`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`conversationStarters`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string[]`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`[]`})}),_jsx(_components.td,{children:`Suggested prompts shown when the input is focused`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/legacy/agent-builder/embed-widget/widget-types#chatbar`,children:`Widget Types — Chatbar`}),` for more details on chatbar behavior.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`hiding-the-login-ui`,children:`Hiding the Login UI`}),`\n`,_jsxs(_components.p,{children:[`If you’re using `,_jsx(_components.a,{href:`/legacy/agent-builder/byoi`,children:`BYOI`}),` to identify users, you’ll typically want to hide the built-in Thesys login interface:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`embedWidget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '...'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` hideLogin:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` identityToken:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` yourJwt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`preloading`,children:`Preloading`}),`\n`,_jsx(_components.p,{children:`By default, the agent iframe loads when the user first opens the widget. To eliminate that initial load delay, enable preloading:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Preload immediately`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` widget`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` embedWidget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '...'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` preload:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Or preload later based on user behavior`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`widget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`preload`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The iframe loads invisibly in the background so the agent is ready instantly when the user opens it.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Customization","sidebarTitle":"Customization","description":"Theme the chatbar, set placeholders, and style the widget to match your brand.","href":"/legacy/agent-builder/embed-widget/customization"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Theme","slug":"theme","depth":2,"children":[]},{"title":"Chatbar Theming","slug":"chatbar-theming","depth":2,"children":[{"title":"Theme Properties","slug":"theme-properties","depth":3,"children":[]}]},{"title":"Chatbar Options","slug":"chatbar-options","depth":2,"children":[]},{"title":"Hiding the Login UI","slug":"hiding-the-login-ui","depth":2,"children":[]},{"title":"Preloading","slug":"preloading","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/thesys/c59d88e29a375e54/tracking.js"],"subdomain":"thesys","siteName":"Thesys Documentation","title":"Customization - Thesys Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-06T07:05:14.824Z","originalFileLocation":"legacy/agent-builder/embed-widget/customization.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Theme the chatbar, set placeholders, and style the widget to match your brand.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Thesys Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thesys/xeMc67sqrKsQ_4dX/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/thesys/xeMc67sqrKsQ_4dX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thesys/xeMc67sqrKsQ_4dX/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/thesys/xeMc67sqrKsQ_4dX/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/thesys/xeMc67sqrKsQ_4dX/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thesys/xeMc67sqrKsQ_4dX/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thesys/xeMc67sqrKsQ_4dX/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/thesys/xeMc67sqrKsQ_4dX/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/thesys/xeMc67sqrKsQ_4dX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Customization - Thesys Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Theme the chatbar, set placeholders, and style the widget to match your brand.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Thesys Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.thesys.dev/legacy/agent-builder/embed-widget/customization\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://thesys.mintlify.site/_mintlify/api/og/v2?division=Embed+Widget\u0026amp;title=Customization\u0026amp;description=Theme+the+chatbar%2C+set+placeholders%2C+and+style+the+widget+to+match+your+brand.\u0026amp;theme=8e36d645b20658078a84b2f9\u0026amp;signature=2eb16e722694497948bc29439560f13d42f5329120334eb200638df1ad0c7b6f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Customization - Thesys Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Theme the chatbar, set placeholders, and style the widget to match your brand.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://thesys.mintlify.site/_mintlify/api/og/v2?division=Embed+Widget\u0026amp;title=Customization\u0026amp;description=Theme+the+chatbar%2C+set+placeholders%2C+and+style+the+widget+to+match+your+brand.\u0026amp;theme=8e36d645b20658078a84b2f9\u0026amp;signature=2eb16e722694497948bc29439560f13d42f5329120334eb200638df1ad0c7b6f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/thesys/xeMc67sqrKsQ_4dX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Thesys Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8B5CF6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.thesys.dev/legacy/agent-builder/embed-widget/customization\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/legacy/agent-builder/embed-widget/customization.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.thesys.dev/#organization\",\"name\":\"Thesys Documentation\",\"url\":\"https://docs.thesys.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/thesys/Ix1JbpbB1tWCO3US/logo/light.svg?fit=max\u0026auto=format\u0026n=Ix1JbpbB1tWCO3US\u0026q=85\u0026s=b402e9b4308b19551e2db284d332d42e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.thesys.dev#website\",\"name\":\"Thesys Documentation\",\"url\":\"https://docs.thesys.dev\",\"publisher\":{\"@id\":\"https://docs.thesys.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.thesys.dev/legacy/agent-builder/embed-widget/customization#webpage\",\"url\":\"https://docs.thesys.dev/legacy/agent-builder/embed-widget/customization\",\"name\":\"Customization\",\"description\":\"Theme the chatbar, set placeholders, and style the widget to match your brand.\",\"dateModified\":\"2026-09-06T07:05:14.824Z\",\"isPartOf\":{\"@id\":\"https://docs.thesys.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.thesys.dev/legacy/agent-builder/embed-widget/customization#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.thesys.dev/legacy/agent-builder/embed-widget/customization#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Embed Widget\",\"item\":\"https://docs.thesys.dev/legacy/agent-builder/embed-widget/getting-started\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Customization\",\"item\":\"https://docs.thesys.dev/legacy/agent-builder/embed-widget/customization\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.thesys.dev/legacy/agent-builder/embed-widget/customization#article\",\"headline\":\"Customization\",\"name\":\"Customization\",\"description\":\"Theme the chatbar, set placeholders, and style the widget to match your brand.\",\"url\":\"https://docs.thesys.dev/legacy/agent-builder/embed-widget/customization\",\"mainEntityOfPage\":{\"@id\":\"https://docs.thesys.dev/legacy/agent-builder/embed-widget/customization#webpage\"},\"dateModified\":\"2026-09-06T07:05:14.824Z\",\"publisher\":{\"@id\":\"https://docs.thesys.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.thesys.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Thesys Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Thesys Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/legacy/agent-builder/embed-widget/customization.md","siteName":"Thesys Documentation","nav":{"global":{"anchors":[{"anchor":"OpenUI Docs","icon":"arrow-right","href":"https://www.openui.com/docs"},{"anchor":"Developer Tools","icon":"wrench","href":"https://docs.thesys.dev/legacy/developer-tools"},{"anchor":"AI Coding IDE Setup","icon":"code","href":"https://docs.thesys.dev/legacy/guides/ide-setup"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/Pbv5PsqUSv"},{"anchor":"Get Support","icon":"headset","href":"mailto:support@thesys.dev"}]},"tabs":[{"tab":"Guide","pages":[{"title":"Guide","href":"/legacy"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/legacy/examples"}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/legacy/api-reference/getting-started"}]},{"tab":"Agent Builder","groups":[{"group":"Getting Started","pages":[{"title":"Agent Builder","sidebarTitle":"Introduction","href":"/legacy/agent-builder/introduction"}]},{"group":"Embed Widget","pages":[{"title":"Getting Started","sidebarTitle":"Getting Started","href":"/legacy/agent-builder/embed-widget/getting-started"},{"title":"Widget Types","sidebarTitle":"Widget Types","description":"Choose between tray, full-screen, and chatbar layouts for your embedded agent.","href":"/legacy/agent-builder/embed-widget/widget-types"},{"title":"Customization","sidebarTitle":"Customization","href":"/legacy/agent-builder/embed-widget/customization"},{"title":"Programmatic Control","sidebarTitle":"Programmatic Control","description":"Open, close, send messages, and prefill input on the embedded agent from your application code.","href":"/legacy/agent-builder/embed-widget/programmatic-control"},{"title":"Events","sidebarTitle":"Events","href":"/legacy/agent-builder/embed-widget/events"},{"title":"Mobile Behavior","sidebarTitle":"Mobile Behavior","href":"/legacy/agent-builder/embed-widget/mobile-behavior"}]},{"group":"Features","pages":[{"title":"Bring Your Own Identity (BYOI)","sidebarTitle":"User Identity (BYOI)","href":"/legacy/agent-builder/byoi"}]},{"group":"Advanced","pages":[{"title":"PostMessage Protocol","sidebarTitle":"PostMessage Protocol","href":"/legacy/agent-builder/advanced/postmessage-protocol"}]}]},{"tab":"Library","pages":[{"title":"Library","href":"/legacy/library"}]}]},"basePath":"","title":"Customization - Thesys Documentation","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["10e4515597"],"chunks":["BannerMarkdown-CrFSwoa1.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}