HTML Fragments

Templates, named blocks, Page, Fragment, OOB swaps, and kida integration

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

HTML over the wire: one template, many modes. Chirp renders a single template with named blocks as a full page, an htmx fragment, a multi-target OOB swap, or a streamed [Suspense or SSE payload] — the return type decides which. A fragment is one of those named blocks rendered on its own; an OOB swap updates several regions of the page from a single response. This section is for the hypermedia practitioner who wants those return-type mechanics in detail.