Web Elements
Web Elements is a lightweight reactive UI library that transforms native HTMLElements into reactive elements. Perfect for framework-agnostic applications and web component development.
const externalSignal = signal("something")
function Elements(property1, property2, children): ReactiveHTMLElement{
const value = signal(0)
return div()
.style.color("green")
.title("tooltip")(
header("This is my header"),
main("Second children")
b(value),
span(externalSignal),
...children
)
}
document.body.appendChild(render(Elements))