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

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

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

<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">
    * [setShowParticipantsBar()](/reference/daily-js/instance-methods/set-show-participants-bar)
  </Card>
</CardGroup>
