htmx 4.0 is under construction — migration guide

htmx.config.transitions

Enable View Transitions API support

The htmx.config.transitions option, when set to true, causes htmx to use the View Transitions API for smooth animations between page updates.

Default: true

Example

htmx.config.transitions = false;
<meta name="htmx-config" content='{"transitions":false}'>

Requires browser support for the View Transitions API.