Layouts
Five shapes the agent can take on a page. Switching is a setting, not a new tag.
Chosen in Settings → Appearance → Layout. A layout decides where the agent sits and what chrome it has — nothing about how it answers, renders or remembers changes, which is why you can try another one on a live site without a deploy.
Choosing one
The five
Bubble
A card that floats clear of the corner, above a round launcher — up to 24rem wide and 40rem tall, never taller than the screen allows. What most people picture when they picture a chat widget, and what every existing embed gets by default.
Side panel
Docked to the edge, full height, 24rem wide, opened from the same round launcher. For support-heavy sites where the conversation is long and the visitor is working through it.
Bar
A slim strip across the bottom, carrying the agent's name, that opens into a wide panel centred above it. For content sites, where a floating circle competes with the reading.
Inline
The agent sits in the page, in a container you placed. No launcher, nothing to close, always open. This is the one that most often replaces a contact form — it needs one extra attribute, below.
Full page
The agent is the page: it covers the whole window, always open, for a dedicated support URL.
| Bubble | Round launcher · opens a card · can be expanded |
|---|---|
| Side panel | Round launcher · opens full height · can be expanded |
| Bar | Strip launcher · opens a wide panel at the bottom · fixed size, no expand |
| Inline | No launcher · always open · fills your element |
| Full page | No launcher · always open · fills the window |
TipBubble and side panel can be expanded by the visitor
Inline needs one more thing
The other four position themselves against the window. Inline sits inside an element on your page, and only your page knows which — so you name it on the tag.
<div id="support" style="height: 32rem"></div>
<script
src="https://cdn.tigerbase.cloud/v2"
data-api-key="tb_your_key_here"
data-target="#support"
defer
></script>| The container sets the size | The widget fills it, width and height. Give it a height — without one it falls back to a minimum of 24rem, which is rarely the size you meant. |
|---|---|
| Inline without data-target | There is no element to sit in, so the always-open panel lands across the top of the window, over your content. |
| data-target without Inline | The chosen layout still positions itself against the window, so the element you named is not used the way you meant. Set the layout to Inline. |
WarningIf the selector matches nothing
defer, that means anywhere in the HTML.Right-to-left
Arabic mirrors the whole panel — the avatars, the bubble corners, the composer, the greeting bubble and the toasts. The language is decided once, when the widget starts, from the first of these that says anything:
| 1. The tag, or init() | data-lang="ar" or "en" on the script tag, or defaultLang in TigerbaseAgent.init(). The one choice that beats the dashboard. |
|---|---|
| 2. The agent's Language | Settings → General → Language. What most sites should rely on. |
| 3. The page | Your <html lang>, when neither of the above has said anything. |
Any value starting with ar — ar, ar-EG, ar-SA — gives Arabic, right to left. Anything else gives English.
NoteChanging lang later does not flip a running widget