MicroUI – A tiny, portable, immediate-mode UI library written in ANSI C(github.com)
244 points by peter_d_sherman 1 day ago | 83 comments
tl;dr: MicroUI is a ~1100 SLOC ANSI C immediate-mode UI library that operates within a fixed-size memory region with no additional allocations. It provides standard controls (windows, buttons, sliders, textboxes, etc.) and a simple layout system, but doesn't render anything itself—users supply input and handle the emitted draw commands, making it compatible with any renderer capable of drawing rectangles and text. The project is intentionally minimal, so feature-additions PRs likely won't be merged, though it's designed for easy extension with custom controls.
HN Discussion:
  • Users share their own successful integrations and demos showcasing the library's minimalism and portability
  • ~The library is great but effectively abandonware with unresolved bugs
  • Pointing to related or alternative GUI libraries for different use cases
  • Lack of accessibility support makes it a non-serious toy project
  • Questioning what advantages it offers over established alternatives like Dear ImGui