> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omni.co/llms.txt
> Use this file to discover all available pages before exploring further.

# size embed event

> Emitted by Omni on dashboard load to give the size of the frame, allowing users to dynamically size the iframe.

## Payload

```json theme={null}
{
  "width": number,
  "height": number
}
```

## Properties

<ParamField path="width" type="number">
  Width of the dashboard in the iframe.
</ParamField>

<ParamField path="height" type="number">
  Height of the dashboard in the iframe.
</ParamField>

## Example

```json theme={null}
{
  "width": 600,
  "height": 400
}
```
