Skip to content

Float Panel ​

A panel above the page. Drag the title bar to move it. The button in the title bar collapses the panel. The panel stays in the viewport.

Use the float option of mount, or the FloatPanel component. A negative defaultPosition is from the right or bottom edge.

ts
mount(document.body, (ui) => { ... }, { float: { title: 'Debug', defaultPosition: { x: -16, y: 16 } } })