OptionalcolorsCustom colors for styling.
OptionalenableEnable click-to-set-dominant functionality for room owners.
When enabled (default: true), clicking a participant will set them as the dominant speaker. The dominant speaker is featured prominently in speaker/sidebar video layouts. Clicking the same participant again will clear the dominant selection.
This feature is owner-only - non-owners will not see any click interaction even if this prop is set to true.
The dominant speaker change is automatically broadcast to all participants via the HiyveProvider's data messaging system.
OptionaliconsCustom icons to replace default MUI icons.
OptionallabelsCustom labels for i18n support. Partially override default labels.
OptionallocalDisplay name for the local user.
OptionalmaxMaximum height before the list becomes scrollable.
OptionalonCallback when an error occurs
OptionalonCallback when a participant item is clicked.
The clicked participant's user ID
OptionalonCallback when remove button is clicked (owner controls only).
The target participant's user ID
OptionalrenderRender props for advanced customization.
OptionalshowShow the header with participant count.
OptionalshowShow mute status indicators (mic/camera icons).
OptionalshowShow output mute button for remote participants (owner only). This allows muting a participant's audio locally (only you can't hear them).
OptionalshowShow owner badge (star icon) next to room owner.
OptionalshowShow hand raised indicator.
OptionalshowShow speaking indicator (voice activity).
OptionalstylesCustom styles for sizing and spacing.
OptionalsxMUI sx styling prop for the container.
OptionaltitleTitle for the list header.
Props for the ParticipantList component.
Remarks
The ParticipantList displays all participants in a video room with their status indicators (mute state, hand raised, speaking, owner badge). It supports owner controls for muting and removing participants.
Requirement: Must be used inside a
<HiyveProvider>component.The component automatically derives participant data and owner status from the HiyveProvider context. All mute/unmute operations are handled internally.
Sorting: Participants are automatically sorted with local user first, then the room owner, then alphabetically by name.
Example
Basic usage inside HiyveProvider:
Example
With custom styling and labels:
Example
With render props for custom rendering: