bytewave/ui

Dialogs & overlays

Dialogs, drawers, sheets, popovers and tooltips.

Window Escapes: 0

Dialog (composed)

Sizes, header/footer, close button.

SimpleDialog

Becomes a bottom drawer under 768px unless mobileView=keep.

DialogManager & AlertProvider

Imperative APIs returning promises.

SimpleAlertDialog

A declarative confirm with its own body. Nothing dismisses it while its action runs.

AlertDialog (composed)

Sheet

Sheet modes

mode=push sits beside SheetMain, and mode=contained covers the host on desktop or the viewport on phones. Escape closes the top inline sheet when it is dismissible.

erp

Main content. Push sheets take space beside it and stay interactive together; the contained sheet covers only this region, leaving the nav usable.

Row 1
Row 2
Row 3
Row 4
Row 5
Row 6

BottomDrawer

Swipe down to dismiss; the mobile surface every Simple* component uses. Centered with a size scale on desktop, widened on tablets, inset horizontally on mobile.

Stacked drawers

A BottomDrawer opened inside another stacks above it: the one behind tilts back and peeks out, and the new one shows a back button with the previous title. Swipe or Escape returns one step.

Popover & Tooltip