ChatPopupStandaloneProps
Agent Runtimes / chat/ChatPopupStandalone / ChatPopupStandaloneProps
Interface: ChatPopupStandaloneProps
Defined in: chat/ChatPopupStandalone.tsx:69
ChatPopupStandalone props
Properties
animationDuration?
optionalanimationDuration?:number
Defined in: chat/ChatPopupStandalone.tsx:164
Animation duration (in ms)
brandColor?
optionalbrandColor?:string
Defined in: chat/ChatPopupStandalone.tsx:158
Brand color
brandIcon?
optionalbrandIcon?:ReactNode
Defined in: chat/ChatPopupStandalone.tsx:149
Custom brand icon
buttonIcon?
optionalbuttonIcon?:ReactNode
Defined in: chat/ChatPopupStandalone.tsx:152
Custom button icon when closed
buttonTooltip?
optionalbuttonTooltip?:string
Defined in: chat/ChatPopupStandalone.tsx:155
Button tooltip text
children?
optionalchildren?:ReactNode
Defined in: chat/ChatPopupStandalone.tsx:146
Children to render in popup body (custom content)
className?
optionalclassName?:string
Defined in: chat/ChatPopupStandalone.tsx:128
Custom class name
clickOutsideToClose?
optionalclickOutsideToClose?:boolean
Defined in: chat/ChatPopupStandalone.tsx:122
Enable click outside to close
defaultOpen?
optionaldefaultOpen?:boolean
Defined in: chat/ChatPopupStandalone.tsx:86
Default open state
description?
optionaldescription?:string
Defined in: chat/ChatPopupStandalone.tsx:80
Description shown in empty state
emptyStateMessage?
optionalemptyStateMessage?:string
Defined in: chat/ChatPopupStandalone.tsx:170
Empty state message
enableKeyboardShortcuts?
optionalenableKeyboardShortcuts?:boolean
Defined in: chat/ChatPopupStandalone.tsx:110
Enable keyboard shortcuts
enableStreaming?
optionalenableStreaming?:boolean
Defined in: chat/ChatPopupStandalone.tsx:167
Enable streaming mode
escapeToClose?
optionalescapeToClose?:boolean
Defined in: chat/ChatPopupStandalone.tsx:125
Enable escape key to close
height?
optionalheight?:string|number
Defined in: chat/ChatPopupStandalone.tsx:92
Popup height
offset?
optionaloffset?:number
Defined in: chat/ChatPopupStandalone.tsx:161
Offset from edge (in pixels)
onClose?
optionalonClose?: () =>void
Defined in: chat/ChatPopupStandalone.tsx:143
Callback when popup closes
Returns
void
onNewChat?
optionalonNewChat?: () =>void
Defined in: chat/ChatPopupStandalone.tsx:137
Callback when new chat clicked
Returns
void
onOpen?
optionalonOpen?: () =>void
Defined in: chat/ChatPopupStandalone.tsx:140
Callback when popup opens
Returns
void
onSendMessage
onSendMessage:
MessageHandler
Defined in: chat/ChatPopupStandalone.tsx:74
Handler for sending messages - REQUIRED. This function will be called when the user sends a message.
onSettingsClick?
optionalonSettingsClick?: () =>void
Defined in: chat/ChatPopupStandalone.tsx:134
Callback when settings clicked
Returns
void
panelProps?
optionalpanelProps?:Partial<ChatBaseProps>
Defined in: chat/ChatPopupStandalone.tsx:179
Additional ChatBase props
placeholder?
optionalplaceholder?:string
Defined in: chat/ChatPopupStandalone.tsx:131
Input placeholder
position?
optionalposition?:"bottom-right"|"bottom-left"|"top-right"|"top-left"
Defined in: chat/ChatPopupStandalone.tsx:83
Position of the popup
poweredByProps?
optionalpoweredByProps?:Partial<PoweredByTagProps>
Defined in: chat/ChatPopupStandalone.tsx:119
Powered by tag props
renderToolResult?
optionalrenderToolResult?:RenderToolResult
Defined in: chat/ChatPopupStandalone.tsx:176
Custom render function for tool results. When provided, tool calls will be rendered inline in the chat.
showButton?
optionalshowButton?:boolean
Defined in: chat/ChatPopupStandalone.tsx:98
Show the floating button when closed
showClearButton?
optionalshowClearButton?:boolean
Defined in: chat/ChatPopupStandalone.tsx:104
Show clear button
showHeader?
optionalshowHeader?:boolean
Defined in: chat/ChatPopupStandalone.tsx:95
Show header
showNewChatButton?
optionalshowNewChatButton?:boolean
Defined in: chat/ChatPopupStandalone.tsx:101
Show new chat button
showPoweredBy?
optionalshowPoweredBy?:boolean
Defined in: chat/ChatPopupStandalone.tsx:116
Show powered by tag
showSettingsButton?
optionalshowSettingsButton?:boolean
Defined in: chat/ChatPopupStandalone.tsx:107
Show settings button
title?
optionaltitle?:string
Defined in: chat/ChatPopupStandalone.tsx:77
Popup title
toggleShortcut?
optionaltoggleShortcut?:string
Defined in: chat/ChatPopupStandalone.tsx:113
Toggle shortcut key
width?
optionalwidth?:string|number
Defined in: chat/ChatPopupStandalone.tsx:89
Popup width