Skip to content

Overlays

Layers over the page: dialogs, confirmations, popovers, menus and tips. Each one traps or returns focus, closes on Escape, keeps a visible border in forced-colors mode and fits a 320px screen, where the modal becomes a bottom sheet.

9 pages, 10 exports

  • Modal
  • ConfirmDialog
  • Popover
  • DropdownMenu
  • MenuItem
  • MenuCheckItem
  • MenuLabel
  • Tooltip
  • InfoTip
  • FocusTrap

ImportLink to the section Import

Each group has its own entry, so an app that needs only this group loads only this group. Everything is also exported from @skribly/ui.

tsx
import { Modal, ConfirmDialog, Popover, DropdownMenu, … } from '@skribly/ui/overlays'

Pages in this groupLink to the section Pages in this group

Search this site

Arrows move through the results, Enter opens one, Esc closes. Ctrl K /