Gooey: A GPU-accelerated UI framework for Zig
Gooey is a GPU-accelerated UI framework designed for Zig, supporting multiple platforms including macOS, Linux, and web browsers. It features a declarative UI, built-in animations, and a pure state pattern for testable state management. The framework aims to provide a seamless development experience with zero external dependencies and extensive built-in functionalities.
- ▪Gooey targets macOS, Linux, and web browsers using Metal, Vulkan, and WebGPU technologies.
- ▪The framework includes features like a declarative UI, an animation system, and support for custom shaders.
- ▪Gooey has no external dependencies and builds against system frameworks and libraries only.
Opening excerpt (first ~120 words) tap to expand
Gooey A GPU-accelerated UI framework for Zig, targeting macOS (Metal), Linux (Vulkan/Wayland), and Browser (WASM/WebGPU). Join the Gooey discord Early Development: API is evolving. Example app built with Gooey — chat-zig, an Anthropic Claude client using the Zig 0.16 std.Io stack for async HTTP: Features GPU Rendering - Metal (macOS), Vulkan (Linux) with MSAA anti-aliasing (WebGPU/WASM is blocked upstream on Zig 0.16 — see WASM) Declarative UI - Component-based layout with ui.* primitives and flexbox-style system Cx/UI Separation - Cx for state, handlers, and focus; ui.* for layout primitives Pure State Pattern - Testable state methods with automatic re-rendering Animation System - Built-in animations with easing, animateOn triggers Entity System - Dynamic entity creation/deletion with…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.