Documentation

Asgard

Getting started

Theming

Guides

Layout

Docking

Inputs & forms

Button

Switch

Checkbox

Radio

Select

Slider

TextBox

Upload

ImageCropper

Pickers

Color picker

Calendar

Time picker

DateTime input

Data display

Card

Accordion

Typography

Progress

DataTable

TreeView

SyntaxColor

MarkdownRenderer

Terminal

Layout & docking

Grid

Splitter

SDiv

Dock

Theme switcher

Media query

Feedback & overlays

Alert

Toast

Tooltip

Popups

Drawer

FloatingPanel

FloatingWindow

Navigation & chrome

Breadcrumb

Stepper

Toolbar

Ribbon

ContextMenu

FeatureTour

Documentation

Asgard

Getting started

Theming

Guides

Layout

Docking

Inputs & forms

Button

Switch

Checkbox

Radio

Select

Slider

TextBox

Upload

ImageCropper

Pickers

Color picker

Calendar

Time picker

DateTime input

Data display

Card

Accordion

Typography

Progress

DataTable

TreeView

SyntaxColor

MarkdownRenderer

Terminal

Layout & docking

Grid

Splitter

SDiv

Dock

Theme switcher

Media query

Feedback & overlays

Alert

Toast

Tooltip

Popups

Drawer

FloatingPanel

FloatingWindow

Navigation & chrome

Breadcrumb

Stepper

Toolbar

Ribbon

ContextMenu

FeatureTour

Feedback & overlays

A draggable, dismissible window.

A draggable and resizable floating window that behaves like a desktop-style dialog or tool window.

Key features:

  • Modal (backdrop + centered) and non-modal modes
  • draggable title bar and resizable edges/corners
  • Configurable minWidth/minHeight constraints
  • Close via button, escape key, or backdrop click
Loading preview…
When to use it
  • Property inspectors
  • Tool palettes
  • Modeless and modal dialogs
  • Resizable, draggable panels
Properties
PropTypeDefaultDescription
titlestringText displayed in the window title bar, which also serves as the drag handle.
isOpenbooleanControls whether the floating window is currently visible.
onClose() => voidCallback invoked when the window is closed via the close button or escape key.
modalbooleanWhen true, adds a backdrop overlay and centers the window, preventing interaction with underlying content.
draggablebooleanEnables dragging the window by its title bar to reposition it freely on screen.
resizablebooleanEnables resizing the window by dragging its edges or corners.
widthnumber | stringInitial width of the window in pixels or as a CSS string value.
heightnumber | stringInitial height of the window in pixels or as a CSS string value.
Notes
  • Modal mode adds a backdrop overlay and centers the window, blocking interaction with content behind it.
  • The floating position allows the window to be freely dragged from its initial coordinates, while center always starts centered on screen.
  • Use minWidth and minHeight to set lower bounds when resizable is enabled, preventing the window from becoming too small.
Presets