This is a rather in depth article talking about using HTMX with WordPress. It has some good background and suggests reasons why HTMX might be a good fit for WordPress, as well as providing a simple example use.
Making the Case for Using HTMX with WordPress
Miguel Muscat @ wpmayor.com • 8 months ago