A chat box widget is a small chat window that you add to a website with a line of code. Visitors type a question and get a reply from an AI, from your staff, or from both.
The most common chat box for websites is a floating button in the bottom corner. Others sit inside the page, open from your own button, or stay on screen as a search-style bar. Below are eight examples, the code to embed each type, and the questions that help you choose.
Two chat boxes can share the same AI and the same answers, yet get very different use. A button in the corner waits for the visitor to act. A box in the middle of a contact page is already open and ready for typing. So choose the form first, and think about the page where it will sit: a shop visitor asking about delivery and a student reading course notes need different things from the same widget.
8 website chat box examples
Each example shows the form, a line a visitor might see, and where it suits. The plan named is the Asyntai plan that includes it, so you can try the same form on your own site.
A round icon in the corner. One click opens the chat over the page.
The form most visitors already know, and it follows them from page to page. It suits almost any site as a starting point. All plans.
"Not sure which size to order? Ask here."
A short message floats beside the button. Write something tied to your business, because "How can I help?" tells the visitor little. The text can run to 100 characters. All plans.
"Ask about our delivery areas..."
A text field sits above the button, so the visitor sees where to type before opening anything. A click opens the chat with the cursor in place. All plans.
A pill or side tab that carries words as well as an icon.
Words make the purpose clear on a busy page. Asyntai has fifteen chat button designs. Pill, Reveal, Edge tab and Dock need Starter. Card, Split, Overhang and Typewriter need Standard.
"Do you ship to Canada?" "What is your return period?"
Up to four clickable questions appear in an empty chat. They help people who do not know what the chat can do. Starter and above. Pro can also suggest different questions on each page.
A "Chat with us" section with the chat window already open.
This form fits contact pages and help pages. The chat sits in your layout like any other content, and the floating bubble can stay active beside it. Embedded Chat is on all plans.
"Talk to us about this plan" in your hero section or menu.
Any button or link on your site can open the chat, styled like the rest of your page. Use it when a corner icon does not fit your design. A custom open button is a small piece of code, shown below.
"Ask anything about the docs" in a centred field at the bottom of the page.
The bar expands into a fullscreen conversation when the visitor starts typing. It suits documentation and long content, and you can limit it to chosen pages. The Ask AI Bar is on Pro.
Which example fits your site
| Your site | What visitors usually ask | Try this form |
|---|---|---|
| Online shop | "Is this in stock in blue?" | Bubble with a greeting on product pages |
| Local service | "Do you cover my postcode?" | Open input field, plus inline chat on the contact page |
| Software product | "Does the plan include API access?" | Your own button on the pricing page, with suggested questions |
| School or course site | "When does enrolment close?" | Inline chat on the admissions page |
| Documentation | "How do I reset my token?" | Ask AI bar on the docs pages only |
These are starting points. Your chat logs will show which pages and questions really matter on your site.
How to embed a chat box on your website
Each form above comes from one of three pieces of code. In Asyntai, you copy your own code from the Setup section of your dashboard, because it holds your widget ID.
The floating chat box
Paste this before the closing </body> tag, or into the footer code field of your website builder. This code also powers the greeting, the input field, the button designs and the suggested questions. You turn those on in Widget Settings, with no new code.
<script>(function(){var l=function(){var s=document.createElement("script");s.src="https://widget.asyntai.com/static/js/chat-widget.js";s.async=true;s.setAttribute("data-asyntai-id","YOUR_WIDGET_ID");document.head.appendChild(s)};if(document.readyState==="complete"){l()}else{window.addEventListener("load",l)}})();</script>
The inline chat box
Keep the code above on the page. Then add this line at the exact place where the chat should appear.
<script src="https://asyntai.com/static/js/chat-embed.js" data-asyntai-id="YOUR_WIDGET_ID"></script>
The window measures 400 by 650 pixels on a desktop. On a phone it takes the full width at 550 pixels tall. Style the parent element to set its position. The inline box and the floating bubble share one conversation, so a visitor can move between them and keep the same chat.
Your own button
With the floating code on the page, this button opens the chat. To remove the corner icon, hide #mccs-chat-button with CSS, and make sure your own button is easy to find on every page.
<button onclick="window.AsyntaiWidget.open()">Chat with us</button>
When a platform refuses scripts
Notion, SharePoint and some page builders accept only an iframe. For those, use an iframe embed, which needs Starter or above. Use the script whenever your platform allows one, because a chat in an iframe cannot read the page around it and has no floating bubble. Our guide on how to add chat to your website lists where the code goes on each platform.
How to choose the best chat box for your website
Lists of the "best" chat box rarely match your site, because the look of a widget matters less than what it can say. Put these questions to any tool before you decide.
- Where do the answers come from? Some boxes only pass messages to your staff. Some follow scripts you build by hand. An AI chat box answers from your own pages and documents. Ask to test it with real questions from your inbox.
- What happens when it cannot answer? Check whether a visitor can reach a person, and what they see outside your working hours.
- Can you read the conversations? Logs show you wrong answers and missing content. Without them you cannot improve the chat.
- What does it count, and what does it cost at your volume? Vendors charge per agent, per conversation, or per message. Work out the cost with your own numbers.
- Does it look right on a phone? Open it on a real phone. Check that it does not cover your menu, your buy button or a cookie banner.
- Does it match your design? Check colours, position, and whose name appears in the footer of the window.
What you can change in the Asyntai chat box
Asyntai reads your website and answers visitors from your pages, your files and your instructions. These are its main visual settings and the plan each one needs. Colours are set on the same page.
| Setting | What it changes | Plan |
|---|---|---|
| Welcome text and greeting | The first message and the floating bubble text | All plans |
| Auto-open | Opens the chat or shows the bubble after 1 to 60 seconds | All plans |
| Position | Bottom left or right, or custom offsets in pixels | Starter and above |
| Name, logo and icon | The name in the header, your logo and your own button image | Starter and above |
| Widget languages | Translates the interface into 32 languages | Starter and above |
| Product cards and images | Shows products and pictures inside the replies | Standard and Pro |
| Font and branding removal | Sets your font and removes "Powered by Asyntai" | Pro |
Messages are the meter, and one message is one AI reply. The monthly allowance is 50 on Free ($0), 800 on Starter ($39), 15,000 on Standard ($139) and 50,000 on Pro ($449). See the full list on the pricing page.
Frequently asked questions
What is the difference between a chat box and a chatbot?
The chat box is the window on the page. The chatbot is the software that writes the replies. A chat box can also connect to your staff with no bot at all. Read more in live chat vs chatbot.
Can I embed a chat box without a floating button?
Yes. Add the inline code where the chat should appear, then hide the corner icon with CSS. The main widget code must stay on the page, because the inline box depends on it.
Can I show the chat box on some pages only?
Yes. Add the code only to those pages, or keep it site-wide and list the pages to hide in Exclude Pages.
Will a chat box work on my website builder?
If the builder accepts a script in a footer or custom code field, the floating chat box works. Some builders place embeds in a box of their own, so the chat stays inside that box and does not float. Your builder's guide in the installation documentation explains what to expect.