Skip to main content

LMAIChatbot

LMAIChatbot set's up LikeMinds AI Chatbot. It is the entry level component for AI-Chatbot. It accepts the following props.

Props

PropertyTypeDescriptionOptional
buttonTextstringThe text displayed on the AI chatbot button.✔️
loadingScreenAnimatonsJSONJSON object for loading screen animations.✔️
previewTextstringPreview text for the chatbot.✔️
closeAIChatbot() => voidFunction to close the AI chatbot screen.✔️
showSettingUpChatbotTextbooleanWhether to show the setup text for the chatbot.✔️
isClearChatOptionEnabledbooleanIndicates if the option to clear chat is enabled.

CSS Classnames

ClassnameDescription
lm-chat-ai-bot-containerContainer for the chatbot UI.
lm-chat-ai-bot-channelArea where bot interactions take place.

Example

To customise the component with their classnames, Open your base css file and override the styles using the classname

.lm-chat-ai-bot-channel {
font-size: 18px;
color: "red";
}

Reference

For reference checkout this file