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

# showParticipantsBar()

> Returns whether the participant bar is currently visible in Daily Prebuilt.

`showParticipantsBar()`

✓ Prebuilt✗ Custom

## Return value

Returns `boolean` — `true` if the participant bar is visible, `false` if hidden.

## Example

```javascript theme={null}
if (!call.showParticipantsBar()) {
  call.setShowParticipantsBar(true);
}
```

## See also

> [card] Types
>
> * [DailyCallOptions: showParticipantsBar](https://docs.daily.co/reference/daily-js/types/daily-call-options.md#param-show-participants-bar)

> [card] Methods
>
> * [setShowParticipantsBar()](https://docs.daily.co/reference/daily-js/instance-methods/set-show-participants-bar.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.