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

Three questions, five answers. Bubble is the default, and what every embed gets until you choose.

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.

BubbleRound launcher · opens a card · can be expanded
Side panelRound launcher · opens full height · can be expanded
BarStrip launcher · opens a wide panel at the bottom · fixed size, no expand
InlineNo launcher · always open · fills your element
Full pageNo launcher · always open · fills the window

TipBubble and side panel can be expanded by the visitor

Both offer an expand control that takes the conversation full screen. The bar does not — it has a fixed size of its own. Inline and full page do not either: there is nothing to expand into, and offering the button would give the visitor a control that either does nothing visible or empties the container they are looking at.

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.

html
<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>
Two halves: the attribute says where, the setting says how. Inline needs both.
The container sets the sizeThe 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-targetThere is no element to sit in, so the always-open panel lands across the top of the window, over your content.
data-target without InlineThe 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

The widget says so in the console and falls back to floating over the page, rather than rendering nothing. A silent blank area is harder to diagnose than a widget in the wrong place. The element has to exist when the widget starts — with 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 LanguageSettings → General → Language. What most sites should rely on.
3. The pageYour <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

A page that switches language without reloading keeps the widget in the language it started in. Reload, or tear it down and start it again with the JavaScript API.