Quick Start

Your first page in 60 seconds.

1. Create hello.nyx

page / { style { bg #0a0a1a color white font-family system-ui padding 2rem } h1 "Hello, NyxCode!" p "My first reactive page." state clicks = 0 button "Click me" -> clicks = clicks + 1 p clicks }

2. Build

nyxcode build hello.nyx # ✅ Built: dist-site/index.html

3. Open in browser

Open dist-site/index.html. Reactive counter works instantly.

No config needed

What happened?

NyxCode compiled your 14-line file into a self-contained HTML page with scoped CSS, a reactive signal runtime, event handlers, and proper document structure.

← Installation Routing →