Control the widget panel’s dimensions and let your users resize it to their preference.Documentation Index
Fetch the complete documentation index at: https://docs.voltai.ai/llms.txt
Use this file to discover all available pages before exploring further.
Default size
Setsize.width and size.height to any CSS value — px, %, vw/vh, rem, etc.:
85vw wide and 92vh tall.
Resizable by users
Enableresizable to let users drag the top edge, left edge, or top-left corner to resize the panel. Their preferred size is saved to localStorage and restored on page refresh.
Double-clicking a resize handle resets to the default size.
Resize constraints
Set minimum and maximum dimensions (in pixels) for resizing:Available options
| Property | Type | Default | Description |
|---|---|---|---|
width | string | "85vw" | Default width (any CSS value) |
height | string | "92vh" | Default height (any CSS value) |
minWidth | number | 320 | Minimum width in px when resizing |
minHeight | number | 400 | Minimum height in px when resizing |
maxWidth | number | viewport - 32 | Maximum width in px when resizing |
maxHeight | number | viewport - 32 | Maximum height in px when resizing |
resizable | boolean | true | Enable drag-to-resize handles |