Lite TalkLiteTalk
Chatbot

Customization

All attributes supported by the <lite-talk> element.

Overview

The lite-talk custom element accepts attributes to configure theme, placement, copy and behavior. All attributes are optional except chatbotid.

Attribute names are lowercase in HTML (e.g. theme, chatbotid).

Attributes

AttributeValuesDefaultDescription
chatbotid-requiredYour chatbot identifier.
theme

light | dark

LIGHTOverall color scheme.
colorAny valid hex color#3b82f6Primary accent / button color.
orientation

left | right

RIGHTLauncher side of the screen.
headline-Chat with our AIHeader title inside the widget.
description-Ask any question and our AI will answerHeader subtitle inside the widget.
initialmessage-Hello! How can I help you today?Tooltip prompt shown before first click.
textinputplaceholder-Type your message...Placeholder for the input.
newchatbuttontext-New ChatLabel for the "new chat" action.
faqbuttontext-FAQsLabel for toggling FAQs.
backtochatbuttontext-Back to ChatLabel to return from FAQs to chat.

Example

<script
  async
  type="text/javascript"
  src="https://litetalk.ai/embed/chat.js"
></script>

<lite-talk
  chatbotid="YOUR_CHATBOT_ID"
  theme="light"
  color="#3b82f6"
  orientation="right"
  headline="Chat with our AI"
  description="Ask any question and our AI will answer"
  initialmessage="Hello! How can I help you today?"
  textinputplaceholder="Type your message..."
  newchatbuttontext="New Chat"
  faqbuttontext="FAQs"
  backtochatbuttontext="Back to Chat"
></lite-talk>