---
title: "Widget Style and Custom CSS"
description: "Customise your bot's messages, position, colours, avatar, widget icon, header gradient, page rules, and Shadow DOM Custom CSS."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.aminos.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Widget Style and Custom CSS

Open **Widget Style** (`/dashboard/{bot}/builder`) in the left sidebar to design how your chatbot looks and behaves, while testing changes in the live preview pane on the right.

## Behavior settings

- **Widget title / Bot name:** Shown in the chat header bar.
- **Welcome message:** The first greeting displayed when a visitor opens the chat. Includes an emoji picker and supports `{{visitor_variables}}`.
- **Call to action message** *(max 150 characters)* + **Show call to action message** *(default on)*: The small teaser bubble next to the floating chat button before the visitor clicks it. Supports emojis and `{{visitor_variables}}`.
- **Appear on:**
- **All pages** *(default)* — shows on every page where the embed script is installed.
- **Specific pages** — enter comma-separated URL substrings (for example `/pricing, /contact`) so the widget only appears on matching pages.
- **Fallback message:** Shown when an unexpected input or error occurs.

## Style settings

- **Position:** **Bottom Right** (default) or **Bottom Left**.
- **Text Size:** **Standard** (default) or **Large**.
- **Widget Icon:** Custom launcher bubble icon (max **512 KB**; automatically downscaled to ≤512 px PNG/JPEG/WebP). Can be removed to return to the default icon.
- **Chat Avatar:** Avatar displayed in the chat header and next to bot messages (max **512 KB**; automatically downscaled to ≤512 px). Removable at any time.
- **Theme Color:** Color picker with 14 quick swatches and custom hex input (default `#0069FF`).
- **Show Header:** Toggle the top chat header bar on or off *(default on)*.
  :::caution
  Turning **Show Header** off hides the header `⋮` menu, which also hides **End chat**, **Email me this transcript**, and the **Reset chat** button. Keep **Show Header** on if you use [Ending chats and transcripts](/widget/ending-chats-transcripts).
  :::
- **Header Gradient:** **Subtle** (default), **Standard**, or **Heavy**.

## Custom Widget CSS

Click **Custom CSS** inside **Widget Style** to open the CSS editor (up to **50,000 characters**). Your CSS is injected **last** inside the widget's Shadow DOM, so it safely overrides widget styles without touching your host website.

The Custom CSS modal includes:
- A live preview that updates as you edit.
- **Floating Prompt** and **Inline Prompt** generators — write a style objective (e.g. *"Rounded pill buttons with a dark slate theme"*) to generate a ready-to-paste prompt for an AI coding assistant with the exact widget selectors.
- Three built-in examples you can copy and adapt: **Default**, **Glassmorphism**, and **Cyberpunk**.

## Testing in the live preview

Use the preview toggle on the right of **Widget Style** to switch between **Floating** and **Inline** views. Unsaved edits update the preview immediately. Click **Reset chat** in the top bar whenever you want to restart the preview conversation from the beginning, and remember to click **Save** when you're happy with the result.

## Notification badge & sound

To toggle the red unread **notification badge** or the two-tone **notification sound**, open **Bot → Settings → Notifications → Chat widget alerts** (both default to on).

Source: https://docs.aminos.ai/widget/design/index.mdx
