# HTMX Patterns for ThrillWiki

This document records the HTMX patterns used across the project. It is
intended as a living reference for developers migrating Alpine-driven
interactions to server-driven HTMX flows.

Key patterns:

- Partial rendering for list and detail updates (`*_partial.html`)
- `HX-Trigger` for cross-component events
- `HX-Redirect` for post-auth redirects
- `hx-indicator` and skeleton loaders for UX
- Field-level validation via `validate_field` query param

See templates under `backend/templates/htmx/` and mixins in
`backend/apps/core/mixins/__init__.py` for examples.
