himmel
v0.0.2-alpha.6
Published
A small TypeScript UI runtime for AI-friendly interfaces.
Maintainers
Readme
Himmel
Himmel is a small TypeScript UI runtime for AI-friendly interfaces.
It focuses on small, readable, easy-to-review UI code for internal tools, plugin panels, dashboards, demos, and embeddable widgets.
Install
bun add himmelnpm install himmelExample
import { createRoot } from "himmel";
import { Button, Div, Text } from "himmel/dom";
import { dispatch, get, signal } from "himmel/signal";
const count = signal(0);
function App() {
return Div([
Text(() => `count is ${get(count)}`),
Button("Add").onClick(() => {
dispatch(count, (value) => value + 1);
}),
]).className("panel");
}
createRoot("#app", App);Exports
himmel: root runtime helpers such ascreateRootandcreateNodeRefhimmel/dom: DOM node DSL such asDiv,Button,Input,List,Portalhimmel/signal:signal,get,dispatch,derive,effect
Status
Himmel is an early runtime prototype. The v1 focus is stable DOM primitives, signal behavior, lifecycle events, list rendering, portal behavior, and small demo scenarios.
See the project roadmap: https://github.com/xiamu14/himmel-dev
