WebWorks Components

Loading loup-rt.wasm…

WebWorks Components: ww-* Web Components written in Loup, running inside Core WebAssembly (loup-rt.wasm) and served by WebWorks. This page is itself laid out with <ww-dock-layout> and <ww-grid>.

Browse every component by category. Each component page has a live HTML / CSS / Loup-script sandbox with attribute knobs and an event console, its examples, the component inside every layout technique, theme / accent / density panels, its full API (attributes, slots, parts, events, custom properties) and an analysis.

One element, <ww-layout mode=…>, implements every layout technique; children place themselves with dock, anchor, x/y, tile, col-span, grow, place.

Light, dark and high-contrast themes, seven accent palettes or any accent colour, three densities and a radius scale, scoped to any subtree.

Edit and run @mode(web.scripted) Loup code live, with multi-file VFS imports and the embedded stdlib.

A counter persisted in localStorage, a dynamic todo list, click callbacks and setTimeout.

Fine-grained signalInt / signalStr DOM bindings with mount, Loup → JS callJs, JS → Loup exportFn, and HTTP fetch.

An ahead-of-time compiled Loup binary exercising classes, ARC, lists, dicts and flag-based try/catch with three host imports.