Loading...
Loading...
HTMX development guidelines for building dynamic web applications with minimal JavaScript using HTML attributes.
npx skill4agent add mindrally/skills htmxhx-gethx-posthx-puthx-patchhx-deletehx-targethx-swaphx-triggerhx-selecthx-push-urlhx-replace-url<!-- Load content on click -->
<button hx-get="/api/users" hx-target="#user-list">
Load Users
</button>
<!-- Submit form via AJAX -->
<form hx-post="/api/submit" hx-target="#result" hx-swap="innerHTML">
<input name="email" type="email">
<button type="submit">Submit</button>
</form>hx-swap<button hx-delete="/api/item/1"
hx-confirm="Are you sure you want to delete this?">
Delete
</button>hx-boost