Luna UI
Luna is a reactive UI library with fine-grained reactivity and Islands Architecture.
Core Concepts
| Concept | Description |
|---|---|
| Signals | Reactive state primitives |
| Effects | Side effects that track dependencies |
| Memos | Cached computed values |
| Islands | Partially hydrated interactive components |
Quick Start
# TypeScript/JSX
npx @luna_ui/luna new myapp
# MoonBit
npx @luna_ui/luna new myapp --mbt
See Quick Start for detailed setup instructions.
Sections
Quick Start - Get started in 5 minutes
Why Luna - Design philosophy and advantages
API: JavaScript - JavaScript API reference
API: MoonBit - MoonBit API reference
Tutorial: JavaScript - Step-by-step JS guide
Tutorial: MoonBit - Step-by-step MoonBit guide
Deep Dive - Advanced concepts and internals