Skip to main content
Control the widget panel’s dimensions and let your users resize it to their preference.

Default size

Set size.width and size.height to any CSS value — px, %, vw/vh, rem, etc.:
If omitted, the widget defaults to 85vw wide and 92vh tall.

Resizable by users

Enable resizable 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

The resized size is persisted in localStorage under the key voltai_panel_size. It takes priority over the configured default, so users always get the size they last chose.