FeatureJanuary 29, 2026

Reox UI Framework: Native UIs for NeolyxOS

Introducing a complete UI framework with declarative widgets, theme colors, animation easing, and seamless NeolyxOS integration.

SG
Swanaya Gupta
Reox Core Team

1Declarative UI Widgets

Write UI Simply

Create NeolyxOS apps with declarative syntax that compiles directly to optimized C code:

// Reox UI Code
let btn = button("Submit");
let label = text("Welcome!");
let input = textfield("Enter name...");
let container = vstack(16);

// Compiles to C FFI calls:
// reox_button_create("Submit");
// reox_label_create("Welcome!");
// reox_textfield_create("Enter name...");
// reox_vstack(16);

Supported Widgets

button(label)
text(content)
textfield(placeholder)
checkbox(label)
slider(min, max)
vstack(gap)
hstack(gap)
window(title, w, h)

2Theme Colors

Built-in Color Palette

Access NeolyxOS theme colors directly in your Reox code:

color_primary()
color_success()
color_danger()
color_warning()
color_background()
color_surface()

3Animation Easing

Smooth Animations

// Easing functions
let t = ease_in(0.5);      // Accelerate
let t = ease_out(0.5);     // Decelerate
let t = ease_in_out(0.5);  // Smooth S-curve

// Linear interpolation
let value = lerp(0.0, 100.0, t);

// Color functions
let c = rgb(255, 128, 64);
let c = hsl(240.0, 80.0, 50.0);

4Standard Library

Core

  • • len(), type_of()
  • • min(), max(), clamp()
  • • sqrt(), pow()
  • • floor(), ceil(), round()

I/O

  • • read_file(), write_file()
  • • exists(), is_file()
  • • list_dir()
  • • print_raw(), read_line()

AI

  • • ai_generate()
  • • ai_complete()
  • • ai_explain()
  • • ai_fix()

Build NeolyxOS Apps with Reox

Get started with the new UI framework and create stunning native applications.