Reactive CSS · State and events in the CSS you already write

Reactive CSS · State and events in the CSS you already write
resource

Project description

An experimental library that adds state, events and DOM updates to plain CSS. A click toggles a menu, a drag moves an element, a counter updates its text, and it's all written as CSS rules. One runtime script reads the stylesheet and wires it up; the demos have no application JavaScript. Shown here: the site, a radial context menu, a date range picker, a sortable invoice table and an idle game, each built this way

Reactive CSS · State and events in the CSS you already write Image 0Reactive CSS · State and events in the CSS you already write Image 1Reactive CSS · State and events in the CSS you already write Image 2Reactive CSS · State and events in the CSS you already write Image 3Reactive CSS · State and events in the CSS you already write Image 4

Support this project

Habibur Rahman
Stefano D’Aronco
Dmytro Masalov

Habibur, Stefano and Dmytro voted for this project

© 2026 Copyright Privacy Policy and Terms of Service