diff options
Diffstat (limited to 'www/index.md')
-rw-r--r-- | www/index.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/www/index.md b/www/index.md index f4cd1bd4..8552f3b2 100644 --- a/www/index.md +++ b/www/index.md @@ -1,37 +1,37 @@ --- layout: layout.njk -title: </> kutty - high power tools for html +title: </> htmx - high power tools for html --- -<div class="dark-hero full-width" kt-classes="add appear"> - <span class="logo dark"><<a>/</a>> <span class="no-mobile">k<a>u</a>tty</span></span> +<div class="dark-hero full-width" hx-classes="add appear"> + <span class="logo dark"><<a>/</a>> <span class="no-mobile">htm<a>x</a></span></span> <sub class="no-mobile"><i>high power tools for HTML</i></sub> </div> ## Introduction -Kutty is a set of extensions (attributes, request headers, etc.) that help you build +Htmx is a set of extensions (attributes, request headers, etc.) that help you build [modern UI](/examples) with the [simplicity](https://en.wikipedia.org/wiki/HATEOAS) and [power](https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm) of HTML. -Kutty is small ([~6k min.gz'd](https://unpkg.com/kutty.org/dist/)), IE11 compatible, [dependency-free](https://github.com/bigskysoftware/kutty/blob/master/package.json) +Htmx is small ([~6k min.gz'd](https://unpkg.com/htmx.org/dist/)), IE11 compatible, [dependency-free](https://github.com/bigskysoftware/htmx/blob/master/package.json) & you can try it out quickly, without a huge rewrite. ## Quick Start ```html <!-- Load from unpkg --> - <script src="https://unpkg.com/kutty.org@0.0.2"></script> + <script src="https://unpkg.com/htmx.org@0.0.2"></script> <!-- have a button POST a click via AJAX --> - <button kt-post="/clicked" kt-swap="outerHTML"> + <button hx-post="/clicked" hx-swap="outerHTML"> Click Me </button> ``` -The `kt-post` and `kt-swap` attributes tell kutty: +The `hx-post` and `hx-swap` attributes tell htmx: > "When a user clicks on this button, issue an AJAX request to /clicked, and replace the entire button with the response" -Kutty is based on [intercooler.js](http://intercoolerjs.org) and is the successor to that project. +Htmx is based on [intercooler.js](http://intercoolerjs.org) and is the successor to that project. |