Elena: A Tiny Library for Progressive Web Components
Elena, a library for building Progressive Web Components

Elena is a 2.9kB library that lets you build web components with HTML and CSS first, then progressively enhance them with JavaScript. It solves common issues like accessibility, SSR limitations, and layout shifts, and works across all major frameworks. Built on native custom elements, it offers scoped styles, reactive updates, and zero dependencies.
Elena was built to solve these problems while staying grounded in web standards and what the platform natively provides.
- bobajeff
I've found out about this and datastar * in the last 2 days. I'm getting confused about what these light frameworks/libraries are doing that I need over vanilla js. Also how do these compare to the last round of light frameworks like solid and svelte?
I'm on board with reducing the need to port to and from different frameworks. I also agree that we should try to avoid depending on npm for everything.
- rixed
Step back, and think about the fact that in 2026, the most regarded news site in tech is featuring a tool to build the simplest of UI elements.
- sirwhinesalot
Yes, finally someone else that gets it. Shadow DOM is a misfeature. Being able to customize things with external CSS is a feature of the web, not a bug.