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

# Hide Elements

> Hide specific UI elements in the widget

Control which UI elements are visible in the widget by passing a `hide` object. All properties default to `false`.

```javascript theme={null}
const voltai = Voltai.load({
  apiKey: 'your-api-key',
  hide: {
    signIn: true,
    imageAttachment: true
  }
});
```

## Available options

| Property          | Description                                                                                                                                      |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `imageAttachment` | Hide the image attachment button                                                                                                                 |
| `tagResources`    | Hide the tag resources button                                                                                                                    |
| `tagTopic`        | Hide the tag topic button and topic chips. Auto topic tagging still works.                                                                       |
| `agentConsole`    | Prevent the agent console from auto-expanding when agents respond                                                                                |
| `signIn`          | Hide the sign-in button for guest users. When guests reach their question limit, a "limit reached" message is shown instead of a sign-in prompt. |

## Example: Guest-only mode

Use `signIn` together with `enableGuestUser` to run the widget in a guest-only mode where users cannot sign in:

```javascript theme={null}
const voltai = Voltai.load({
  apiKey: 'your-api-key',
  enableGuestUser: true,
  hide: {
    signIn: true
  }
});
```

When `hide.signIn` is enabled:

* The sign-in button in the widget header is hidden
* If a guest user reaches their question limit, they see a "Limit Reached" dialog with no sign-in option
