DyteParticipantTile
A component which plays a participants video and allows for placement of
components like dyte-name-tag
, dyte-audio-visualizer
or any other component.
<DyteParticipantTile participant={meeting.self}>
<DyteNameTag participant={meeting.self}>
<DyteAudioVisualizer slot="start" />
</DyteNameTag>
</DyteParticipantTile>
You can change the name-tag-position
to any of the supported values and change
the placement of audio-visualizer in name-tag as well.
<DyteParticipantTile participant={meeting.self} nameTagPosition="bottom-center">
<DyteNameTag participant={meeting.self}>
<DyteAudioVisualizer slot="end" />
</DyteNameTag>
</DyteParticipantTile>
It also has a few variants.
<DyteParticipantTile
participant={meeting.self}
nameTagPosition="bottom-center"
variant="gradient"
>
<DyteNameTag participant={meeting.self}>
<DyteAudioVisualizer slot="start" />
</DyteNameTag>
</DyteParticipantTile>
Props
participant
config
iconPack
isPreview
Whether tile is used for preview
Default
false
Type
boolean
meeting
Meeting object
Type
DyteClient
nameTagPosition
Position of name tag
Default
'bottom-left'
Type
"bottom-center" | "bottom-left" | "bottom-right" | "top-center" | "top-left" | "top-right"
size
Size
Type
"lg" | "md" | "sm" | "xl"
states
States object
Type
States
t
variant
Variant
Default
'solid'
Type
"gradient" | "solid"