Skip to content
Hazine

Dialogs

0 of 6 shipped. Nothing has shipped here yet. The list below is what this family will hold, and how each structure differs.

Planned 6

  • Form dialog with inline validation

    Single-view form where the footer submit button lives outside the form element and is wired with the form attribute, with an error summary region at the top that appears only after a failed submit.

  • Scrollable dialog with sticky footer

    Three-region layout where only the body scrolls, scroll shadows are driven by an intersection sentinel, and an optional scroll-to-end gate keeps the primary action disabled with a visible reason until the end is reached.

  • Multi-step dialog

    Content swaps in place while the dialog frame stays fixed in size, focus moves to the new step heading on each transition, and the step count is announced through a polite live region.

  • Split dialog with list and detail

    Two-pane master and detail layout where arrow keys move the selection in the left listbox and the right pane updates without moving focus, instead of a single column of content.

  • Responsive dialog, full screen on mobile

    Same content renders in two shells chosen by a media query hook: a centered card with footer actions on desktop and an edge-to-edge page with the primary action moved into the top bar on mobile.

  • Floating non-modal window

    The only dialog without a focus trap or overlay: three window states (minimised, docked, expanded) driven by title bar buttons, a move handle that also responds to arrow keys so dragging is never required, F6 to jump between page and window, and focus returned to the opener on close.