Skip to content
K

v0.1 prerelease docs

React-like TSX authoring. Native Custom Element output.

Write typed component functions. Ship platform-native Web Components with Shadow DOM, events, slots, and static HTML output when you prerender.

Learning path

Start with install and Vite setup, then move through authoring, styling, Declarative Shadow DOM, packages, demos, and API details.

Authoring

Use state(), computed(), effect(), typed events, explicit listeners, host lifecycle access, and keyed .map() lists.

Native output

The public result is Custom Elements with Shadow DOM, parts, slots, CSS custom properties, and Declarative Shadow DOM in prerendered HTML.

Small boundary

Vite owns the module graph. @naos-ui/runtime stays a tiny helper package for events, scheduling, and hydration support.