# rxi/microui

A tiny immediate-mode UI library

Repository: https://github.com/rxi/microui
Canonical: https://ross.abutalabs.com/products/microui
Language: C
License: MIT
License Family: permissive
Last push: 2024-08-13T19:01:59+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2902, "days_push": 750, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6811, forks 421 (observed 2026-08-28T04:09:48.780681+00:00)

## What it is
microui is a tiny, portable immediate-mode UI library written in around 1100 sloc of ANSI C. It works within a fixed-size memory region and requires the user to provide input handling and rendering, drawing only rectangles and text commands.

## Use cases
- add debug UI overlays to a game or graphics demo
- build a lightweight immediate-mode GUI in C
- embed a small UI in an embedded or fixed-memory application
- prototype tool windows with buttons, sliders, and textboxes
- render UI with any custom renderer that can draw rectangles and text

## When to choose
- you need a minimal, dependency-free UI library in C
- you have your own rendering system and just need UI logic
- memory footprint and simplicity matter more than rich widgets

## When to avoid
- you need a full-featured retained-mode GUI toolkit
- you want built-in rendering, fonts, or theming out of the box
- you need complex controls like tables, trees, or docking

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, gui
- domain: developer-tools, cross-platform, graphics
- platform: cross-platform, cpp, c
- tags: immediate-mode-ui, tiny, ansi-c, portable, no-allocation

## Member repositories
- rxi/microui (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:48.780681+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:42:01.320161+00:00, confidence not recorded.
  - readme: https://github.com/rxi/microui (fetched 2026-08-28T04:09:48.780681+00:00, sha 905c6cd25d6f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
