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

# Theme

export const LoomVideo = ({id}) => <div style={{
  position: 'relative',
  paddingBottom: '64.63195691202873%',
  height: 0
}}>
    <iframe title="Loom video" src={`https://www.loom.com/embed/${id}`} allowFullScreen style={{
  position: 'absolute',
  top: 0,
  left: 0,
  width: '100%',
  height: '100%',
  borderRadius: '8px'
}}></iframe>
  </div>;

The theme tab allows you to customize the look of your typebot.

## Global

This section allows you to enable or disable the typebot branding, change the font and the background of your bot.

<Note>
  Toggling the **Typebot branding** option (or any other theme change) only
  affects the live bot once you [republish](./../editor/publish) it. If you have
  just disabled the branding but still see it on your published bot, hit the
  **Publish** button to propagate the change.
</Note>

### Progress Bar

The Progress Bar allows you to visually indicate a user’s progress through the bot. This helps improve user experience by providing a sense of advancement and completion.

To enable the progress bar in your chatbot:

1. Navigate to the Theme tab of your typebot.
2. Locate the Progress Bar option in the Global section.
3. Toggle the `Enable progress bar` switch to activate it.

| Option                     | Description                                                                                |
| -------------------------- | ------------------------------------------------------------------------------------------ |
| **Placement**              | Determines where the bar appears. Options: `Top` or `Bottom`.                              |
| **Background color**       | Sets the color of the bar’s background.                                                    |
| **Color**                  | Sets the color of the progress indicator.                                                  |
| **Thickness**              | Controls the height of the bar in pixels. Default: `4`.                                    |
| **Position when embedded** | Controls how the bar is positioned when the bot is embedded on another website. See below. |

#### Position When Embedded

Use this option to adjust how the progress bar behaves when Typebot is embedded in a webpage:

* `fixed`: Pins the progress bar to the top of the window. It stays visible even if the chat container scrolls.
* `absolute`: Positions the progress bar at the top of the embedded chat container. It scrolls with the chat.

## Chat

This section allows you to customize all the chats components (avatars, bubbles, inputs etc...).

Click on the bot avatar to change the image:

<Frame>
  <img src="https://mintcdn.com/typebot/D5R4vjlxdJ2YwlGK/images/theme/avatar.png?fit=max&auto=format&n=D5R4vjlxdJ2YwlGK&q=85&s=5873350e576a0fb76b3bf83534d63f1d" alt="Avatar" width="1143" height="577" data-path="images/theme/avatar.png" />
</Frame>

## Custom CSS

You can also decide to customize even further by adding any custom CSS you want. For this you right-click on the bot in the Theme page and inspect the element you want to customize:

<Frame>
  <img src="https://mintcdn.com/typebot/D5R4vjlxdJ2YwlGK/images/theme/custom-css.png?fit=max&auto=format&n=D5R4vjlxdJ2YwlGK&q=85&s=c18d33247514a649515eba9271c4054d" alt="Custom css inspection" width="3444" height="1982" data-path="images/theme/custom-css.png" />
</Frame>

For example, if I want my buttons to be more rounded, and have a fancy gradient color, I can add this to the custom CSS:

```css theme={null}
.typebot-button {
  border-radius: 40px;
  background-image: linear-gradient(to right, #e052a0, #f15c41);
  border: none;
}
```

<Frame>
  <img src="https://mintcdn.com/typebot/D5R4vjlxdJ2YwlGK/images/theme/fancy-button.png?fit=max&auto=format&n=D5R4vjlxdJ2YwlGK&q=85&s=7f0464fc73d33a4c1c8094ac2d4aaaa1" alt="Fancy button" width="1066" height="682" data-path="images/theme/fancy-button.png" />
</Frame>

### Customize a single button color

Thanks to custom CSS, you can customize the color of a single button for example by using the `data-itemid` attribute:

```css theme={null}
[data-itemid="cl3iunm4p000f2e6gfr8cznnn"] {
  background-color: gray;
  border-color: gray;
}
```

To find the item ID of a button, right-click on the button and inspect the element:

<Frame>
  <img src="https://mintcdn.com/typebot/D5R4vjlxdJ2YwlGK/images/theme/button-inspect.png?fit=max&auto=format&n=D5R4vjlxdJ2YwlGK&q=85&s=ddec24ad28adb7b483cfda1bf2fb2bd0" alt="Button inspect" width="3450" height="1966" data-path="images/theme/button-inspect.png" />
</Frame>

<LoomVideo id="8bf5e1631879467e94665df2e56fca9a" />
