# azul > azul is a cross-platform, MIT-licensed GUI framework for building native desktop (and, soon, web) applications. It pairs a retained DOM/CSS UI model with an immediate-mode-style developer experience: a `LayoutCallback` maps your application data to a `Dom`, CSS styles it, and event callbacks mutate the data and request a re-layout. The whole API is exposed over a stable `repr(C)` ABI, so the same concepts are available from Rust (native) plus 10+ generated language bindings (C, C++, Python, and more). It ships headless rendering and a JSON-driven E2E test runner for windowless verification. ## Guide (concept pages, raw markdown) - [Application Architecture](https://azul.rs/ui/guide/architecture.md): Explains the concepts of architecting a larger Azul application - [Document Object Model](https://azul.rs/ui/guide/dom.md): Node types, hierarchy, and CSS scoping - [Hello World](https://azul.rs/ui/guide/hello-world.md): Window setup, state management, DOM creation, handling mouse clicks for a "counter" app - [Built-in Widgets](https://azul.rs/ui/guide/widgets.md): Built-in widgets and how to write your own - [Styling with CSS](https://azul.rs/ui/guide/styling.md): Stylesheets, selectors, and the cascade - [Layout](https://azul.rs/ui/guide/layout.md): Overview of the layout solver - [Images](https://azul.rs/ui/guide/images.md): Loading raster images and CSS backgrounds - [Hello World [Rust]](https://azul.rs/ui/guide/hello-world/rust.md) - [Hello World [C]](https://azul.rs/ui/guide/hello-world/c.md) - [Hello World [C++]](https://azul.rs/ui/guide/hello-world/cpp.md) - [Hello World [Python]](https://azul.rs/ui/guide/hello-world/python.md) - [Hello World [C#]](https://azul.rs/ui/guide/hello-world/csharp.md) - [Hello World [Java]](https://azul.rs/ui/guide/hello-world/java.md) - [Hello World [Kotlin]](https://azul.rs/ui/guide/hello-world/kotlin.md) - [Hello World [Lua]](https://azul.rs/ui/guide/hello-world/lua.md) - [Hello World [Ruby]](https://azul.rs/ui/guide/hello-world/ruby.md) - [Hello World [Node.js]](https://azul.rs/ui/guide/hello-world/node.md) - [Hello World [OCaml]](https://azul.rs/ui/guide/hello-world/ocaml.md) - [Hello World [Zig]](https://azul.rs/ui/guide/hello-world/zig.md) - [Hello World [Go]](https://azul.rs/ui/guide/hello-world/go.md) - [Hello World [Pascal]](https://azul.rs/ui/guide/hello-world/pascal.md) - [Hello World [Scala]](https://azul.rs/ui/guide/hello-world/scala.md) - [Hello World [Fortran]](https://azul.rs/ui/guide/hello-world/fortran.md) - [Hello World [Haskell]](https://azul.rs/ui/guide/hello-world/haskell.md) - [Routing](https://azul.rs/ui/guide/architecture/routing.md): URL patterns, route params, and per-route layout callbacks - [Components](https://azul.rs/ui/guide/architecture/components.md): Reusable UI fragments - named functions of (args) -> Dom - [Reconciliation](https://azul.rs/ui/guide/dom/reconciliation.md): Diffing, restyle scope, and damage-rect repaint - [Datasets](https://azul.rs/ui/guide/dom/datasets.md): Attaching state to a node for navigation and per-instance state - [Merge Callbacks](https://azul.rs/ui/guide/dom/merge-callbacks.md): How widgets keep heavy resources across a layout rebuild - [Virtual Views](https://azul.rs/ui/guide/dom/virtual-views.md): A node that materialises lazily, for infinite lists and embedded sub-DOMs - [Events](https://azul.rs/ui/guide/events.md): Callbacks, event filters, and how state triggers relayout - [Callbacks](https://azul.rs/ui/guide/events/callbacks.md): What CallbackInfo exposes — state, DOM mutation, focus, async work - [Text Input](https://azul.rs/ui/guide/events/text-input.md): Editable text, IME, and the selection model - [Text Selection](https://azul.rs/ui/guide/events/text-selection.md): Selection ranges, cursors, and copy/paste - [Scrolling & Drag](https://azul.rs/ui/guide/events/scrolling.md): Scroll containers, drag-and-drop, hit testing - [CSS Properties](https://azul.rs/ui/guide/styling/properties.md): Reference of every CSS property azul recognises - [System Themes](https://azul.rs/ui/guide/styling/themes.md): System colors, `@theme`, `@os`, and accessibility queries - [Styling Text](https://azul.rs/ui/guide/styling/text-and-fonts.md): Font family, size, weight, alignment, decoration, and the system font keywords - [Icon Packs](https://azul.rs/ui/guide/styling/icon-packs.md): Register icons and use them with `Dom::create_icon` or `` - [Simple Layout](https://azul.rs/ui/guide/layout/blocks.md): Explains block formatting, sizing, positioning, the box model and how to handle overflowing content - [Inline Layout](https://azul.rs/ui/guide/layout/inline.md): Text flow, word breaks, writing modes, multi-column - [Flexbox](https://azul.rs/ui/guide/layout/flex.md): One-axis container layout with grow/shrink/basis - [Grid](https://azul.rs/ui/guide/layout/grid.md): Two-axis container layout with tracks and areas - [SVG](https://azul.rs/ui/guide/images/svg.md): Parsing and rendering SVG documents - [GL Canvas](https://azul.rs/ui/guide/images/canvas-gl.md): Embedding an OpenGL canvas inside a Dom node - [Animations](https://azul.rs/ui/guide/animations.md): Transitions, @keyframes, and the enter/exit animation properties - [Timers](https://azul.rs/ui/guide/animations/timers.md): Timers, threads, and scheduled work - [Zombie Animations](https://azul.rs/ui/guide/animations/zombie-animations.md): Exit animations, the retained subtree they run on, and native per-frame animation functions - [Input Widgets](https://azul.rs/ui/guide/widgets/inputs.md): Text fields, checkboxes, radios, sliders, dropdowns - [Structural Widgets](https://azul.rs/ui/guide/widgets/structural.md): Panels, splitters, tab views, list views, tree views - [Maps](https://azul.rs/ui/guide/widgets/maps.md): A slippy map widget with pan/zoom, tap-to-pin hooks, and lat/lon projection - [Windows & Menus](https://azul.rs/ui/guide/system/windowing.md): Windows, menus, decorations, and per-window state - [File Dialogs](https://azul.rs/ui/guide/system/file-dialogs.md): Native open/save dialogs and folder pickers - [Clipboard](https://azul.rs/ui/guide/system/clipboard.md): Reading and writing the system clipboard - [Device Input](https://azul.rs/ui/guide/system/device-input.md): React to motion sensors, gamepads, and location as events - no polling - [Realtime Media](https://azul.rs/ui/guide/system/realtime-media.md): Camera/mic capture, audio playback, and streaming A/V frames to a peer (the azul-meet pattern) - [Accessibility](https://azul.rs/ui/guide/system/accessibility.md): Screen reader integration and ARIA roles - [Debugging](https://azul.rs/ui/guide/debugging.md): Debug overlays, the inspector, and structured logging - [Profiling](https://azul.rs/ui/guide/debugging/profiling.md): Tracking allocations and per-frame budgets - [End-to-End Testing](https://azul.rs/ui/guide/debugging/e2e-testing.md): Driving an Azul app from a script for tests - [Local-first Database](https://azul.rs/ui/guide/data/database.md): A local-first key/value + index store that syncs to a backup endpoint - [Networking](https://azul.rs/ui/guide/data/networking.md): HTTP from a callback - [Background Tasks](https://azul.rs/ui/guide/data/background-tasks.md): Running long jobs off the layout thread - [Headless Rendering](https://azul.rs/ui/guide/headless/rendering.md): Running the pipeline without a window - [Generating PDFs](https://azul.rs/ui/guide/headless/pdf.md): Render a styled Dom to PDF bytes - headless, no window, no file I/O - [XML Parsing](https://azul.rs/ui/guide/headless/xml.md): Loading a Dom from an XML string - [Web](https://azul.rs/ui/guide/deploying/web.md): Run the same azul binary as a web app — how the WASM lift works and how to ship it - [Mobile (iOS & Android)](https://azul.rs/ui/guide/deploying/mobile.md): Build, package, sign and install an Azul app as an .apk / .ipa — all Rust, from any OS, no Xcode or Android Studio - [Signed Updates](https://azul.rs/ui/guide/deploying/signing-updates.md): The update manifest, the signing chain, and the release script - [Observability](https://azul.rs/ui/guide/deploying/observability.md): Consent tiers, OTLP metrics and logs, crash reports, and the collector behind them ## API reference - [API reference (HTML)](https://azul.rs/ui/api.html): full rendered reference for the latest version - [Version manifest](https://azul.rs/ui/api/index.json): JSON `{ "latest": "0.2.0", "versions": [...] }` - [Per-version reference](https://azul.rs/ui/api/0.2.0.html) - [Search index (JSON)](https://azul.rs/ui/api/0.2.0.search.json): compact searchable index over the whole API. Each entry has short keys — `k` kind (`m` module, `s` struct, `e` enum, `fp` fnptr, `ev` enum variant, `f` struct field, `fn` method, `cn` constructor), `n` name, `m` module, `p` parent class, `a` anchor, `d` doc text, `s` signature. ## Hello world (per language) - [rust hello world](https://azul.rs/ui/guide/hello-world/rust.md) - [c hello world](https://azul.rs/ui/guide/hello-world/c.md) - [cpp hello world](https://azul.rs/ui/guide/hello-world/cpp.md) - [python hello world](https://azul.rs/ui/guide/hello-world/python.md) ## Agent skill - [azul-gui skill file](https://azul.rs/ui/skill.md): install once to make a coding agent ready to build azul apps; also at https://azul.rs/ui/.well-known/azul-skill.md - [llms-full.txt](https://azul.rs/ui/llms-full.txt): every guide page concatenated