--- layout: demo_layout.njk --- ## Htmx Pattern: Infinite scroll The infinite scroll pattern provides a way to load content dynamically on user scrolling action. Let's focus on the final row (or the last element of your content): ```html Agent Smith void29@null.org 55F49448C0 ``` This last element contains a listener which, when scrolled into view, will trigger a request. The result is then appended after it. The last element of the results will itself contain the listener to load the *next* page of results, and so on. {% include demo_ui.html.liquid %}