Skip to content

Interaction

FastAPI and HTMX-oriented request/response components.

  • OobHost — Stable out-of-band swap root with a reserved id.
  • AttrHost — Stable element that can receive attribute-only OOB updates.
  • RefreshButton — Refresh a target component through a typed reference or safe URL.
  • Lazy — Load a component fragment when its placeholder enters the document.
  • Poll — Refresh a fragment at a bounded interval while it remains in the DOM.
  • InfiniteScroll — Append the next fragment when a pagination sentinel is revealed.
  • Pagination — Render crawlable page links that optionally swap a target through HTMX.
  • Loading — Show a polite busy status while a request or deferred component is pending.
  • ErrorState — Present a recoverable request failure and optional HTMX retry.
  • Dialog — Present focused content in a native dialog with an explicit title and close path.
  • ChatMessage — Render one typed, escaped item in an application-owned chat transcript.
  • ChatInput — Submit an explicit chat message and optionally an attachment to a typed HTMX target.