GitHub

Source

ParticipantTile

The ParticipantTile component is the base utility wrapper for displaying a visual representation of a participant. This component can be used as a child of the TrackLoop component or by passing a track reference as property.

Import

import { ParticipantTile } from "@livekit/components-react";

Usage

Using the

ParticipantTile component with a track reference:

<ParticipantTile trackRef={trackRef} />

Using the

ParticipantTile component as a child of the TrackLoop component:

<TrackLoop>
<ParticipantTile />
</TrackLoop>

Properties

disableSpeakingIndicatorbooleanOptional

(Optional)

onParticipantClick(event: ParticipantClickEvent) => voidOptional

(Optional)

trackRefTrackReferenceOrPlaceholderOptional

(Optional) The track reference to display.