solidjs-motion

Presence (modal + backdrop)

Two children in one Presence — backdrop + dialog exit in parallel.

Open the modal — backdrop and dialog share the "open" / "closed" / "dropped" label vocabulary. Toggling exit style switches which variant the children resolve when they unmount; the change takes effect on the next close because runExit re-reads opts at exit time.