Menu

1 / 3

GitHub - duanebester/gooey: Gooey is a hybrid immediate/retained mode UI framework designed for building fast, GPU-rendered applications on macOS/Metal, WebAssembly/WebGPU, and Wayland/Vulkan

Hacker News·6 months ago
#DEvuNRaJ
#github#const#state#self#gooey
Long article (11602 words) — no AI summary yet.
Reading 0:00
15s threshold

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 auto-cleanup

Retained Widgets - TextInput, TextArea, Checkbox, Scroll containers

Text Rendering - CoreText (macOS), FreeType/HarfBuzz (Linux), Canvas (WASM)

Custom Shaders - Drop in your own Metal/GLSL shaders

Drag…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.