> ## 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)`

<Badge color="green">{"✓"} Prebuilt</Badge> <Badge color="red">{"✗"} Custom</Badge>

Defaults to `true`.

## Parameters

<ParamField body="show" type="boolean" required>
  `true` to show the participant bar, `false` to hide it.
</ParamField>

## Return value

Returns `this` for chaining.

## Example

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

## See also

<CardGroup>
  <Card title="Types" icon="t" iconType="solid">
    * [DailyCallOptions: showParticipantsBar](/reference/daily-js/types/daily-call-options#param-show-participants-bar)
  </Card>

  <Card title="Methods" icon="code" iconType="solid">
    * [showParticipantsBar()](/reference/daily-js/instance-methods/show-participants-bar)
    * [setShowLocalVideo()](/reference/daily-js/instance-methods/set-show-local-video)
  </Card>
</CardGroup>
