Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

egui-pop documentation

egui-pop is an application framework and component library for egui: themable, accessible, drivable by agents, easy to debug.

Status: 0.2.0 (2026-10-21), on egui 0.36. Design tokens (YAML, compiled at build time) and themes; visual kits, every themable component drawn from data per state and tone; plugins that own what they register, commands declared once, layered keymaps resolved by focus, zones and blocks, overlays, a value store with undo, a host contract, persistence, a debug bridge and a test kit; the paved road’s components; the workbench (the window’s own frame, scale per window, panels in areas, strips, auxiliary windows, arrangements), devtools; every feature’s moments reachable as steps (ADR 0011).

These pages are online, with search, at https://quazardous.github.io/egui-pop/docs/, beside the gallery, which runs in the browser, and the API documentation of every crate with every feature on.

Guides

  • Your first application: a small application in eight steps, from a window to its tests, following the path a real application took; the application template is its end state.
  • Getting started: the application template, a plugin application, the command palette and the paved road.
  • Using parts without App: what a plain egui or eframe application uses alone (tokens, the theme, kits, components, the viewport, views, editors), its entry point, and what needs the framework.
  • Themes: picking and adjusting a theme, every built-in theme.
  • Visual kits: what components look like, as data per state and drawing handlers, compiled when the theme is installed; and kits as packages: a kit folder, kit!, AppBuilder::kit, user kits.
  • Design tokens: the token format, resolution, densities, accents, contrast checks, writing a theme.
  • The theme editor: a theme’s tokens edited live by role, colour pickers, contrast readouts (AA, AAA), undo, export and import as a token file, steps and agent commands; the survey behind it.
  • Plugins, commands and steps: what a plugin registers, commands and the host, zones and blocks, hooks, steps.
  • State or event: what to use: how a plugin shares data (the value store, commands, steps, the context stack, services), the per-frame trap, one example done both ways.
  • Linked panels: a selection in one view driving a preview in another panel, what each view says of its selection, panels moved, closed or detached, slow previews.
  • Late values and latest-wins loads: a cell for a value that arrives late, in four states, keeping its size; a slow load following a selection where the latest asked wins.
  • The context stack: places (a drill-down and its breadcrumb) and modes (global states and their chips) owned by the kernel and projected by the interface, kernel state and view state, how a plugin reacts.
  • History: undo histories owned by the kernel, which one Ctrl+Z undoes, the “Go there” toast, the history panel and the agents’ history.*.
  • The shared selection: one selection and one hovered item for the whole application, shared by the tree, the list and the application’s widgets; back and forward through past selections, and the agents’ selection.*.
  • The clipboard: typed items kept by the owner, readable fallbacks on the system clipboard, a paste negotiated with its target, types, transforms and sanitisers declared by plugins, the Edit commands and the agents’ clipboard.*.
  • Links: one service opens every link through one policy and the link.open step, with a replaceable opener; the link widget, the confirmation, trust per host, local files and Reveal, egui’s own hyperlinks routed through it, the agents’ links.open and links.check, and the lint.
  • The status bar and the context stack (decided, built): the breadcrumb and mode chips in the status bar, status items that follow the context, one saved state.
  • The status bar: status items at the bar’s start or end, what gives way on a narrow window, live states (busy, error and warning counts), a popover per item, and rich hover cards shared with other widgets.
  • Toolbars: a menu’s items drawn as a row or a column of command buttons, icons from the commands, on and greyed states, the tools that do not fit in More tools.
  • The workbench: panels in areas with placement rules, auxiliary windows, arrangements, strips and indicators, the window’s own frame, scale and the interface zoom, the keymap at run time, hooks around the shell.
  • Hosts and components: what can live where (panels, palettes, auxiliary windows, dialogs, overlays, the status bar), and why a combination is not supported.
  • The native runner, reads and waiting: the event loop egui-pop owns around eframe, the read kernel (keyed, never waiting, stale while revalidating), waiting on the application.
  • The hook kernel: typed hook points, ordered listeners, alter and collect, an error boundary per listener; without egui.
  • The image viewport: tiles from a source the application implements; wide gamut and HDR.
  • Image tools: a histogram with clipping markers and a drag handed back, a curve editor (an application’s spline, the targeted adjustment), colour wheels, a zoom control and a navigator, their steps.
  • Node graph editor: an application’s graph of typed ports on egui’s Scene, edits handed back as requests and run as steps, an overview and a detail view with inline sliders, a minimap, the keyboard and screen reader paths, agent commands, a reference model kept in a YAML file that round-trips; the survey behind it.
  • Pointer gestures and profiles: what the wheel, a pinch and each button do on the image, the node graph and sliders, as six profiles (Document, darktable, Photoshop, Lightroom Classic, Blender / node editors, Trackpad) of keymap bindings the shortcuts editor changes, and a widget taking the secondary button for itself.
  • Cursors and the loupe: tool cursors drawn at the window’s scale, a brush outline that follows the zoom, the cursor.resolve step, a GPU loupe on the displayed pixels; the survey behind them.
  • Choosing files: the system’s chooser off the interface thread, the in-app picker (keyboard, typed paths, places, filters), the file.choose and file.chosen steps.
  • Sliders: darktable-style sliders (soft and hard range, typed expressions, fine and coarse, reset, a quad button), logarithmic, gradient tracks, range sliders, the slider.change step.
  • Compact controls: a choice in a compact cell, a menu row, the scrub field and the input cell, for dense rows.
  • Inputs, field states and Tab order: the decorated input (placeholder, icons, prefix and suffix, a clear button, attached and split buttons, a dropdown), the field states every input shows (modified, required, invalid, disabled with a reason, read-only, pending), Tab order per focus scope and F6 between regions; the survey behind them.
  • The tree: a live tree over a lazy, asynchronous source, edits at any time, selection, keyboard, drag and drop, rename, steps.
  • List items and property rows: one dense row for lists, trees and panels (an icon, a label, weak trailing text, action buttons on hover, indent guides, an arrow, a drag handle), its own row height token, and property rows with their names aligned.
  • Lists and tables: a list and a data table, virtualised, sorting and widths in the value store, cells drawn by the application, steps; a text log on the data table (levels, filters, the tail followed, a time cursor).
  • Charts: time series, scatters and bars on egui_plot, in the kit’s colours and the categorical palette, an accessible summary, a time cursor, the plots collector.
  • Video: a local video file played in place, with full, compact or no controls, looping and muted previews, driven by agents.
  • Timeline: a ruler of time over seconds, frames and timecode, or bars and beats: a playhead to scrub, a range that loops, markers and cue points, snapping, the J/K/L transport keys, each change a step of the history, driven by agents.
  • Thumbnails: a thumbnail from an image the application supplies, a placeholder colour until it is there, a virtualised grid.
  • The photo library: a virtualised thumbnail grid and a filmstrip over thumbnails supplied asynchronously, ratings, colour labels, flags and stacks, the culling keys, a comparison, tag chips and input, a search field with filter chips, steps and agent commands; the survey behind them.
  • Rating stars: how photo applications rate (empty stars, the preview under the pointer, changing and clearing a rating, the keys, read-only display) and the one widget egui-pop draws ratings with, its kit components.
  • Text and code editors: a text editor and a code editor, virtualised, search and replace, a gutter of markers, folding, highlighting behind a trait (syntect, tree-sitter), code assist providers, steps and agent commands; a terminal over a pseudo-terminal or a log console, its keys and focus rules; the survey behind them.
  • Notices: a message in sentences inside a page (a Note): its severity’s symbol, wrapped and selectable text, folded details, Copy, announced to screen readers.
  • Micro-indicators: dots and LEDs, count badges, activity pips, flags, swatches and icons by state, drawn by the kit, passive (their meaning in their host’s name) or buttons, inline or on a widget’s corner, a pulse still under reduced motion, their states for agents.
  • Collapsible sections: sections stacked in a panel, each a band (disclosure mark, title, count) over its own scrolling body, folded, resized at the line between two and remembered; drawn by the kit; the classic apps compared and the crates surveyed.
  • Overlays, placement, layers and header bands: the overlay stack’s rules, placing a floating element, layer ranks, the band a movable surface is dragged by.
  • Dialogs and the settings window: confirm, form, choose, info and custom dialogs; the settings window and the pages plugins add to it.
  • F6 regions: F6 between a window’s parts, where it lands, what blocks it.
  • Accessibility: names for custom widgets, the announcer, the checks.
  • Containment: fault boundaries and the paint guard: a panel that panics stays in its rectangle; a window never stays empty without a word.
  • Jobs and progress: the host’s background jobs folded from its journal, each with an estimated overall percentage, their commands, the jobs.estimate step, a fake host for tests.
  • Translations: Fluent catalogues, the language setting, numbers, dates and plurals, the lookup step, extracting and checking keys.
  • Platform services, each an opt-in plugin of egui-pop-platform: a single instance and deep links, notifications, the tray icon, global shortcuts, logs and crash reports, the folders an application writes to, the focus mode read in-process, the system’s text scaling.
  • Tips: a tip of the day and contextual hints, registered by plugins, translated, dismissed for good through the settings.
  • About the application: Help > About application, the application’s name, version, licences, authors and links, its version info to copy, about.read for agents.
  • Debugging: the debug bridge and devtools.
  • Agents and the debug bridge: how an agent reaches an application (in process, or over the opt-in agent socket), discovering and running commands, reading state, the replies’ shapes, what is refused, and the known gaps.
  • The agent socket: egui-pop-agent, the bridge as JSON-RPC 2.0 over a private Unix socket or a Windows named pipe (describe, snapshot, call, wait), off unless the application turns it on, read-only unless it offers more.
  • Driving the gallery with egui-mcp: the gallery’s opt-in inspection feature, the egui_inspection endpoint it opens (loopback, no authentication) and Rerun’s egui-mcp on it: the tree, clicks by label, screenshots, waits; it bypasses the grants and the input lock, so development builds only.
  • Extensions: the known extensions in three tiers (official, community, featured), the entry format, how to get listed and the checks an entry passes; the extension template (templates/extension).
  • UI index: what to use for a need (a search field, an empty state, a section title), generated from the crates’ API.
  • The gallery: the catalogue application and its options.
  • A Rerun-like viewer: an example application with the Rerun viewer’s look and layout (a kit from Rerun’s design tokens, a blueprint, a viewport of four views, a selection panel, a time panel), and the gaps it found in egui-pop, ranked.

Reference

  • Packaging: desktop files, AppStream, Flatpak, icons, the Windows manifest and installers, the macOS bundle, and what each platform service needs from the package.
  • Scenarios: tests written as RON data, replayed headless with invariants checked after every step.
  • Testing: how egui-pop is tested.
  • Threading: what egui allows on which thread, egui-pop’s threads, the kernel on its own thread, delegated displays.
  • Threading survey: how darktable, vkdt, GIMP, Krita, Blender and others split work between threads, and the patterns that fit egui-pop.
  • File dialogs survey: how the system dialogs, Blender, darktable, Lightroom and file managers lay out, preview, search and save, and the changes ranked for egui-pop’s in-app picker.
  • Keyboard survey: how far the keyboard alone gets in egui-pop and Helios against VS Code, JetBrains, Blender, darktable, Lightroom, GIMP, Qt, GTK and WAI-ARIA, the changes ranked, and egui-pop’s walk (Helios’s is still owed).
  • Scrolling survey: how desktops and applications show scroll bars and treat the wheel, a recommended default (bars visible at rest) and the changes ranked for egui-pop.
  • Knob interaction study: how DAWs, plug-ins, photo tools and web libraries drive knobs (drag mode, travel, fine, wheel, reset, typing), why egui-pop’s knob is hard to control, and the recommended drag-mode API.
  • Web survey: what breaks or differs in the web build (keys the browser keeps, platform services, storage, rendering, accessibility, every gallery page), ranked by how much it gets in the way of reporting a bug from the web gallery, with follow-ups.
  • Video survey: what egui-pop’s applications need from video, the native players compared (GStreamer, libmpv, FFmpeg, the platforms’, the egui crates), whether YouTube and other hosts can play inside and under which terms, and the follow-ups ranked.
  • API stability: what each release promises.
  • Outside review, November 2026: an outside review’s concerns checked against 0.11, with the follow-ups.
  • Changesets and releases: the changeset each change adds, commit subjects, the checks, and how a release is made.
  • How quality is held: AI-assisted development, the checks every change passes before it merges, and what they do not cover.
  • Governance: who decides, decisions as ADRs and requests for comments, what breaks an extension, deprecation windows.
  • Upstream workarounds: what egui-pop compensates for in its dependencies, and how a limit is handled.
  • eframe and egui-pop: what eframe gives, what egui-pop adds and works around, and how egui-pop extends eframe rather than replacing it.
  • egui_stack directions: how egui_stack, the continuation of egui_dock, could fit egui-pop (theming, drop veto, keyboard, accessibility, windows, layout state, sections and toolbars, ideas from egui_tiles), ranked, with the first changes to land.
  • Architecture decisions: one page per decision.
  • Advanced widgets: a survey of advanced widgets and how egui-pop gets them.
  • Micro-indicators, the design: the note behind the indicator module (accepted, with the owner’s decisions and where the visual kits changed them): the survey, the places of use, what waits for the mount contract and the icon registry.
  • Icons: an inventory: every place an icon serves in egui-pop and in an application such as Helios (command icons and object-kind icons, the rule, size, states and accessibility of each, what exists and the gap), the platforms’ conventions for menu icons, and the registry and menu gutter (decided 2026-10-22).
  • Pointer gestures, a study: how applications use the wheel, the buttons and the modifiers on canvases (darktable in detail), the gesture profiles, and the decisions taken.
  • One file browser, many views: the proposed file browser shared by every file dialog and an import window, its view-mode, file-source and thumbnail-provider contracts, and a survey of file managers’ and photo tools’ views.
  • Administration as forms, a design: the accepted framework, its first slice built (the Settings app), for an application’s whole non-image side (settings, tools, import, export, backups, health, plugins, jobs) as one full-page app with two navigation axes: a declarative form tree contributed by manifests, a closed set of bricks, standalone task surfaces and a wizard kit, with a survey and Helios’s information architecture.
  • Moving a floating panel vs docking it: how other applications tell a move from a dock, the modifier per platform, today’s drags, and the decision (a plain drag moves, Ctrl docks, a mode the application and the user can change).
  • Fonts: font families from the theme at four weights, the size scale and the text size seeded from the system’s (built), and the design for the rest.
  • CREDO.md: the principles.

The crates

CrateLayerWhat it holds
egui-pop-tokensL0DTCG token files: parser, resolver, themes, densities, accents, contrast checks. No egui.
egui-pop-win32L0The window frame’s Windows layer: subclasses a window to answer WM_NCHITTEST (Snap Layouts, Aero Snap). No egui; unsafe in one module.
egui-pop-winitL0The runner’s winit layer: a winit window id as the window’s raw handles (Win32, X11, Wayland), checked per system. No egui; unsafe in one module.
egui-pop-waylandL0The image viewport’s Wayland layer: a subsurface under a window, tagged through wp_color_management_v1, and the compositor’s preferred image description. No egui; unsafe in one module.
egui-pop-modelL1The logic without egui: typed ids, diagnostics, when clauses, commands, keymap (layers, chords, focus depth, traces), menus, panels, layouts, the value store, versioned documents, plugin ordering.
egui-pop-coreL2The egui layer: theme, focus scopes, key dispatcher, overlay stack, placement, accessibility, strings, icons, persistence, fault boundaries, value binding, the debug bridge.
egui-pop-apiL3The application API (its own semver): Plugin, Ctx, AppBuilder over eframe or headless, zones and blocks, hooks, services, stories.
egui-pop-viewportL3A generic image viewport (zoom in physical pixels, tiles from an asynchronous source, a display-transform hook, overlays with handles, before/after, a pixel readout), thumbnails, a histogram with clipping markers and a drag, a curve editor, colour wheels, a zoom control and a navigator (feature viewport of the facade).
egui-pop-testL4Test kit: harnesses, “every interactive node has a name”, accessibility tree dump.
egui-pop-i18nL4Translations as a plugin: Fluent catalogues, fallback chains, the language setting, locale formatting, the i18n.resolve step, the key extractor and checks (feature i18n of the facade).
egui-pop-platformL4Platform services as opt-in plugins: a single instance and deep links, notifications, a tray icon, global shortcuts, logs and crash reports, the focus mode (feature platform of the facade).
egui-pop-imagingL4The image tools in an application: each finished change of the histogram’s drag, the curve editor, the colour wheels, the zoom control and the navigator runs as a step (feature imaging of the facade).
egui-pop-viewsL4Data views: a live tree over a lazy, asynchronous source, a list and a data table (on egui_table), virtualised, keyboard-driven, every moment a step (feature views of the facade).
egui-popL5The crate to depend on: re-exports the layers, egui, and a prelude.
egui-pop-galleryappThe catalogue, itself a plugin application (not published).

Layers only depend downwards; a test reading cargo metadata keeps it so (ADR 0001).

Code in these pages

The Rust blocks of the README and of the getting started, themes, plugins, state or event, workbench, viewport, files, tree, lists and tables, translations, platform services, packaging, debugging and micro-indicators pages are compiled and run as doctests by crates/consumer-smoke, against the egui-pop crate only, as a user depends on it: cargo test -p consumer-smoke --doc.