← Cloudflare Realtime / realtime / realtimekit / ui-kit / api-reference / core
rtk-participant
A participant entry component used inside rtk-participants which shows data like:
name, picture and media device status.
You can perform privileged actions on the participant too.
Properties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
config |
UIConfig1 |
❌ | createDefaultConfig() |
Config object |
iconPack |
IconPack |
❌ | defaultIconPack |
Icon pack |
meeting |
Meeting |
✅ | - | Meeting object |
participant |
Peer |
✅ | - | Participant object |
states |
States1 |
✅ | - | States |
t |
RtkI18n |
❌ | useLanguage() |
Language |
view |
ParticipantViewMode |
✅ | - | Show participant summary |
Usage Examples
Basic Usage
<rtk-participant></rtk-participant>With Properties
<rtk-participant>
</rtk-participant><script>
const el = document.querySelector("rtk-participant");
el.meeting= meeting
el.participant= participant
</script>