Join the wishlist

Fixed overlay

The generic full-viewport layer: a trigger opens content over a backdrop.

The children are the content and bring their own panel. Modal-shaped compositions build on this.

Properties

  • Label: the trigger word.
  • Backdrop: the fill behind the content.
  • Dismissible: backdrop press and Esc close it.
  • Block scroll: the page holds still while the layer is open.
  • Align: where the content sits vertically: top, center, or bottom.
  • Transition: the enter transition: fade or none.
Fixed overlay · Docs · Tentis