MicroUI is a [[MIT License]] licensed [[GUI Library]] written in [[C]].
- Website
- [Source](https://github.com/rxi/microui)
- [Documentation](https://github.com/rxi/microui/blob/master/doc/usage.md)
> A tiny, portable, immediate-mode UI library written in ANSI C
# Notability
It's around 1k LoC.
Has a browser demo which is neat and feels snappy.
# Philosophy
## No Renderer Integration
> The library expects the user to provide input and handle the resultant drawing commands, it does not do any drawing itself.
It has no rendering backend, requiring a decent amount of additional work to integrate into a renderer, but making it very flexible.
Lots of people recommend using [[GUI - Clay]] instead for built-in support for renderer backends.
## No Dependencies
The library has no dependencies outside of [[libc]]. There are no `malloc` or `free` calls, though it expects that a lot of values are heap allocated for it by your program.
The demo requires [[SDL]]v2 and [[OpenGL]] to run.
# Platform Support
## Elements
- windows (can be nested)
- rectangles
- text
- icon
- button
- row (similar to an [[HTML]] div)
# Features
# Tips
[[Tscoding]] used it with [[GUI - Raylib]] and said that they work together quite well and have similar interfaces.
# References
```cardlink
url: https://youtu.be/-AFAY2IV4bk
title: "This Tiny UI Library in C is INSANE"
description: "Streamed Live on Twitch: https://twitch.tv/tsodingEnable Subtitles for Twitch ChatChapters:- 00:00:00 - Intro- 00:00:43 - What is Immediate Mode UI- 00:04:15..."
host: youtu.be
favicon: https://www.youtube.com/s/desktop/daa21ba0/img/logos/favicon_32x32.png
image: https://i.ytimg.com/vi/-AFAY2IV4bk/maxresdefault.jpg
```