We’re thrilled to announce the first public release of Zylix, a cross-platform UI framework built entirely in Zig. Zylix enables developers to write UI logic once and deploy to seven platforms: Web/WASM, iOS, watchOS, Android, macOS, Linux, and Windows.
Why Zylix?#
Modern app development often requires maintaining separate codebases for each platform. Zylix takes a different approach: a single Zig core that compiles to native code for each target platform, leveraging their native UI frameworks.
Key Features#
- Virtual DOM Engine: Efficient diffing algorithm computes minimal UI updates
- Type-Safe State Management: Centralized state with compile-time type checking
- Native Platform Integration: SwiftUI, Jetpack Compose, GTK4, WinUI 3, and WebAssembly
- Zero Garbage Collection: Predictable performance with arena allocation
- Lightweight: Core library is just 50-150KB
Current Status#
Zylix v0.1.0 is now available with:
- 9 basic UI components (Container, Text, Button, Image, Input, List, ScrollView, Link, Spacer)
- CSS utility system (TailwindCSS-like syntax)
- Flexbox layout engine
- Event handling system
- Platform maturity follows the Compatibility Reference
Try It Out#
Check out our live demo to see Zylix in action, or get started with the documentation.
# Clone the repository
git clone https://github.com/kotsutsumi/zylix.git
cd zylix
# Build the core library
cd core && zig build
# Run the web demo
zig build wasm -Doptimize=ReleaseSmall
cd ../platforms/web
python3 -m http.server 8080What’s Next?#
Our roadmap outlines the planned features:
- v0.2.0: Expanded component library (30+ components)
- v0.3.0: Cross-platform routing system
- v0.4.0: Async processing (HTTP, file I/O)
- v0.5.0: Hot reload for development
- v0.6.0: Sample applications
Get Involved#
Zylix is open source under the Apache License 2.0. We welcome contributions from developers of all skill levels.
Thank you for your interest in Zylix. We’re excited to build the future of cross-platform development together.