Pannya UI Framework

Pannya is a UI framework inspired by Godot, osu! framework and Clay. It’s built around a scene graph: the UI is composed of nodes, where each node can have children and a parent.

Features:

  • Retained layout and nodes
  • Flexbox-like layout system
  • Input manager with bubbling mouse/keyboard events
  • Probably a very good performance
  • LuaLS annotations

You can use retained nodes for layout and state, while still dropping into immediate mode just by doing everything inside the draw method. It’s actually pretty useful, even I do this sometimes.

Quickstart

You can find the code here