Examples¶
The repository's examples/ folder holds about thirty apps. Run one with uv run python examples/<group>/<name>.py, or start examples/gallery.py to launch any of them with a click.
The pictures here aren't mock-ups: docs/screenshots.py runs each example through yugui's test driver, which renders it without a window. Some examples come with a recorded session to step through, one picture per click or key press.
7GUIs¶
7GUIs is a benchmark for GUI toolkits: seven tasks, from a counter to a spreadsheet, each chosen for something toolkits tend to find hard, such as constraints between fields, timers, undo, or a grid of cells that depend on each other. These are yugui's solutions.
Ported from iced¶
iced is the Rust GUI library that yugui draws with. Its repository has an example for each of its features; these are some of them, rewritten in Python. Each one says what it leaves out, if anything.















Ported from Plushie¶
Plushie is another Python library for native GUIs built on iced, which runs iced in a separate renderer process (how they compare). These are its demo apps, rewritten for yugui: put them side by side with the originals to see how the two APIs differ.













