Examples

The custom templating and jinja templating pages offer a glimpse of the capabilities of FastHX.

For complete, but simple examples that showcase the basic use of FastHX, please see the examples folder.

If you're looking for a more complex (Jinja2) example with features like active search, lazy-loading, server-sent events, custom server-side HTMX triggers, dialogs, and TailwindCSS and DaisyUI integration, check out this FastAPI-HTMX-Tailwind example.