Skip to content

rtk-grid

The main grid component which abstracts all the grid handling logic and renders it for you.

Properties

PropertyTypeRequiredDefaultDescription
aspectRatiostring✅-The aspect ratio of each participant
configUIConfig❌createDefaultConfig()Config object
gapnumber✅-Gap between participants
gridSizeGridSize✅-Grid size
iconPackIconPack❌defaultIconPackIcon pack
layoutGridLayout✅-Grid Layout
meetingMeeting✅-Meeting object
overridesany✅-@deprecated
sizeSize✅-Size
statesStates✅-States
tRtkI18n❌useLanguage()Language

Usage Examples

Basic Usage

<rtk-grid></rtk-grid>

With Properties

<rtk-grid
aspectRatio="example"
gridSize="md">
</rtk-grid>
<script>
const el = document.querySelector("rtk-grid");
el.gap= 42;
</script>