demo.htmx.org to simulate server responses
based on the
<template url="..."> elements defined
at the end of the page. In production, these requests
would go to a real server that can also return headers
such as HX-Layer and HX-Retarget.
Opens a dialog inside another dialog
Updates content within the current layer
(Open a dialog above first, then use this button)
Each step replaces the previous one, which stays
hidden (not destroyed). You can go back with
hx-layer-back without losing the entered
data, and at the end
hx-layer="return" closes and clears the
whole step chain.
Closes the current dialog (with no way back) and opens the response in a new one. Useful for finishing a confirmation or wizard and then showing an ongoing process.
This dialog is nested inside the previous one.
Hi, ${nombre || "β"}. Tell us a bit more:
Name: ${nombre || "β"}
Comments: ${comentarios || "β"}
Are you sure you want to delete the project? This action will start a background process.
π Deleting filesβ¦
ποΈ Freeing up databaseβ¦
β Process completed.