The web platform is incredibly powerful. But we've spent a decade wrapping it in heavier and heavier abstractions. We replaced native state with reactivity proxies, native forms with controlled inputs, and native DOM with virtual trees. Coralite takes a step back.
HTML, CSS, and JavaScript. Server-rendered, componentized, validated at build time.
The Non-Negotiables
- Named exports over classes: No
class extends HTMLElement. - Tokens in templates, logic in scripts: Strict flat identifiers in HTML.
- Light DOM by default: Encapsulation via CSS Scoping, not Shadow DOM.
Every helper in Coralite has a native Web API equivalent you could have written yourself. A helper earns its place when the native call breaks under component reuse. We never rename the platform.
Correctness has the same shape. Invalid templates, broken component contracts, and server imports cannot compile. Failures are deterministic, located, and explained before output ships. See the validation guide →