Show HN: Base-GPUI: A GPUI port of Base UI headless components

A tiny app tool drop has people yelling, "wait, this runs in a browser?!"

TLDR: Base GPUI is a new community project that gives app makers flexible, build-it-yourself interface pieces for GPUI, though it’s still unfinished and changing fast. The comment section instantly latched onto one surprise: people were thrilled that the demos appear to run in the browser, with bonus joking shade thrown at Flutter.

A new community-made project called Base GPUI just landed on Show HN, and on paper it sounds simple: it brings a popular set of build-your-own interface parts to GPUI, the app framework behind Zed, so developers can make buttons, tabs, menus, popups, sliders, and more without being forced into one visual style. In plain English, it’s a toolkit for making apps your own way. It’s still early, still changing, and it has to be installed from GitHub, which is basically the software equivalent of a sign reading: construction zone, enter if you dare.

But let’s be honest: the real fireworks are in the reaction. The loudest comment was pure delighted disbelief. One user basically did a double take in public: wait, these examples run in the browser? That single realization turned the thread into a mini hype party. The strongest opinion by far was unfiltered excitement, with the project being called “sick” and “so rad”. And yes, there was also a spicy drive-by at Flutter, dismissed as an “abomination” in a joke that practically begs to start a framework war.

That’s the whole vibe here: part admiration, part confusion, part meme-fueled shock that a Rust-based tool tied to native apps can show off in the web browser with real HTML. Even with only a tiny discussion so far, the emotional arc is already deliciously dramatic: confusion, revelation, then instant fandom.

Key Points

  • Base GPUI is a GPUI-native port of Base UI’s headless component APIs for native applications.
  • The project supports concepts including compound parts, controlled and uncontrolled state, keyboard interaction, state-aware styling, and accessibility semantics.
  • Its implementation is designed specifically for GPUI’s immediate-mode rendering model rather than translating Base UI’s React internals.
  • Base GPUI is under active development, with pre-1.0 APIs that may change, and it is currently installed from GitHub using a GPUI Git revision.
  • The library currently includes APIs for common interface patterns such as accordions, dialogs, buttons, checkboxes, comboboxes, menus, popovers, selects, sliders, tabs, toasts, and tooltips.

Hottest takes

"Wait, what?! These examples run in the browser?" — jauntywundrkind
"This is sick. This is so rad" — jauntywundrkind
"unlike the Flutter abomination?" — jauntywundrkind
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.