<Nav /> { type: 'string' } h() registry.register() defineComponent() <Button />
Runtime Framework

UI for the age of AI-generated code

Solar runs directly in the browser. No compiler, no build step. Explicit props, a component registry, and structured error responses give agents the predictable contract they need.

Core principles

Built for agents. Readable by humans.

Every design decision in Solar optimizes for the new reality: code is increasingly written, modified, and debugged by AI.

No compiler required

Code runs instantly in the browser. No build step means faster iteration, complete debuggability, and zero toolchain friction.

Explicit contracts

Every prop is typed and validated at runtime. Agents receive structured JSON errors they can parse, understand, and fix autonomously.

Component registry

Every component is automatically registered and addressable by name. Agents always have a complete map of what's in your app.

Declared dependencies

Effects state their dependencies explicitly. Data flow is always readable, predictable, and safe to modify programmatically.

Built with Solar