Light

Light

An engine for user interfaces on the web, in the terminal and on the desktop.

A view is a standard custom element rendered into the light DOM, built from signals and a tagged-template renderer. Models hold data, controllers hold shared state, and a theme supplies the tokens and utility classes they read.

One engine runs across hosts. It comes in small parts, with packages beside it for components, routing, an app layer, serving and building. There is no runtime dependency and no virtual DOM.

A terminal app compiles natively. Starting a project is one command:

Copy
light new web my-app