what

Interactions

Show, hide, and expand content with zero JavaScript — built on native HTML elements like <details>. What keeps the client thin: use the platform, not a framework.

Disclosure

Toggle Content

This content shows or hides using the native <details> element. No JavaScript required.

Independent Panels

Panel A
Each panel opens and closes independently — no shared state, no script.
Panel B
This panel starts closed and opens when clicked.
Panel C
Another independent native disclosure.

Accordion

Give several <details> the same name and the browser keeps only one open at a time — a true accordion, still zero JavaScript.

What is the What Framework?

The What framework is an HTML-first web framework powered by Rust. You write HTML templates and the framework handles routing, rendering, and interactivity.

Do I need to know JavaScript?

No. What handles interactivity on the server with live HTML injection and session-driven reactivity. The rest is native HTML.

How fast is it?

Very fast. Built with Rust and Tokio, What serves pages with minimal overhead and handles high concurrency effortlessly.

Can I use my own CSS?

Absolutely. The What framework ships a utility CSS framework, but you can add your own stylesheets in the static directory alongside or instead of the built-in styles.

Tooltips

Hover me Link with tooltip Cart (3)

Dropdowns

Planned Enhancements

Coming Soon
Custom Error Pages

User-defined 404, 500, and 403 error pages with error context variables for custom error handling.

Source

Loading...