dyte-grid
The main grid component which abstracts all the grid handling logic and renders it for you.
<dyte-grid id="dyte-el"></dyte-grid>
<script>
const el = document.getElementById('dyte-el');
el.meeting = meeting;
</script>
<style>
dyte-grid {
height: 360px;
}
</style>
Props
meeting
aspectRatio
The aspect ratio of each participant
Default
'16:9'
Type
string
config
gap
Gap between participants
Default
8
Type
number
gridSize
Grid size
Default
defaultGridSize
Type
GridSize
iconPack
layout
Grid Layout
Default
'row'
Type
"column" | "row"
overrides
Default
{}
Type
any
size
Size
Type
"lg" | "md" | "sm" | "xl"