Skip to content
Tiny immediate-mode UI library
Branch: master
Clone or download
Latest commit 9bb1eb6 Jul 19, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo Added better handling for unicode in demo's renderer May 29, 2019
doc Added `Custom Controls` section to doc/ Oct 7, 2018
src Version 1.02 Jun 21, 2019
LICENSE Initial commit Sep 22, 2018 Fix broken link Jul 18, 2019



A tiny, portable, immediate-mode UI library written in ANSI C

Browser Demo


  • Tiny: around 1100 sloc of ANSI C
  • Works within a fixed-sized memory region: no additional memory is allocated
  • Built-in controls: window, panel, button, slider, textbox, label, checkbox, wordwrapped text
  • Easy to add custom controls
  • Simple layout system


  • See doc/ for usage instructions
  • See the demo directory for a usage example


  • The library expects the user to provide input and handle the resultant drawing commands, it does not do any drawing itself
  • In contrast to other immediate mode ui libraries microui does not store window, panel, header or treenode state internally. It is up to the user to manage this data themselves


The library is designed to be lightweight, providing a foundation to which you can easily add custom controls and UI elements; pull requests adding additional features will likely not be merged. Bug reports are welcome.


This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details.

You can’t perform that action at this time.