hx-dialog extension demo

Every button fetches a small HTML fragment containing an <hx-dialog> tag. No server required — fragments are static .html files.

Modal (default)

Non-modal

Close on backdrop click

Server-initiated close

Persist (stays in DOM after close)

ARIA & native attributes

Alternative themes (class passthrough)

Replace content in open dialog

Wire log