Each demo runs on this site and shows its source (the source button). Inputs are whitelisted, nothing is written to the database, and no visitor input is run as SQL, PHP or template code.
form2 with server-side rules (required, valid_email, min_length, a custom closure) and the errors on the fields.
form2 tom_select_box() and tags_box() without jQuery: local and remote search, multiple, tags, with the search endpoint.
table2 on the sample products: whitelisted filter and sort, paging that works without JavaScript.
Search and page a table2 with hx-get and hx-boost; the module answers htmx with a fragment.
Edit rows in place (hx-get / hx-post), validated on the server, kept in the session, CSRF header.
A server-driven redirect for htmx to a whitelisted target.
bootstrap, slate and cyborg through the framework theme changer, with a component preview.
Pick primary and body colours; validated values become a scoped Bootstrap 5 stylesheet.
Build a query from whitelisted parts and see the SQL for MySQL and PostgreSQL; never executed.
A form2 form with a one-time token: the same POST without it, or replayed, is refused.
chartjs() of the charts plugin on inline data: bar, line, radar, doughnut.
Drag, resize, add and remove cards on a GridStack grid (no jQuery), save the layout with the CSRF token, keyboard moves.
A tour of the yf template engine: variables and filters, conditions, loops, t(), include, escaping, url(); template, PHP and output side by side.
url() calls with REWRITE_MODE on and off, and request paths parsed back into $_GET by the rewrite router.
Tick yf_validate rules for a value and see each rule's result and message, what validate() returns and the form2 rule string.
t() with variables and plural forms, plus numbers, money, dates and time zones for en_US, en_GB and uk_UA.
divide_pages() over the sample products: page size, slide or blocks, size and alignment, and the html()->pagination() widget.
The search plugin (db_like) on the sample products: weighted fields, filters, sort, highlighting, colour facets, suggestions.