> ## 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.

# setShowParticipantsBar()

> Shows or hides the participant bar in Daily Prebuilt.

`setShowParticipantsBar(show)`

✓ Prebuilt✗ Custom

Defaults to `true`.

## Parameters

**show** `boolean` *required*

`true` to show the participant bar, `false` to hide it.

## Return value

Returns `this` for chaining.

## Example

```javascript theme={null}
// Hide the participant bar
call.setShowParticipantsBar(false);
```

## See also

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

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


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