Xilem 0.5.0 and Masonry 0.5.0 release

Olivier Faure, December 3, 2026

We have released Xilem v0.5.0 and Masonry v0.5.0.

Masonry is the widget system developed by Linebender. It provides a non-opinionated retained widget tree, designed as a base layer for high-level GUI frameworks.

Xilem is our flagship GUI project, inspired by SwiftUI, which uses Masonry for its widgets. It lets you build user interfaces declaratively by composing lightweight views together, and will diff them to provide minimal updates to a retained layer.

Notable changes

This is a transitory release, with lots of small quality-of-life improvements. We expect to make a more impactful release before the end of the year.

Subwindows

Masonry now has "subwindows", which are graphical elements that display on top of everything else in the UI.

Subwindows can be persistent, or they can be "attached" to a widget, in which case they disappear when the widget does.

Current built-in subwindows include Selector for multi-options menus and Tooltip for hover tooltips. Tooltips are small text boxes by default, but Masonry provides the components to make anything into a tooltip.

Screenshot of Selector subwindow

Screenshot of Tooltip subwindow

Property cascading

We've added a basic property cascading system, based on a new PropertyStack type.

Property cascading lets you set up a theme so that a widget has certain properties (e.g. a certain background color) by default, and a different properties when the widget is hovered, focused, clicked, etc.

While Masonry doesn't have a proper Light/Dark mode system yet, property cascading also lets you emulate one.

New layout system

Masonry has a new layout system, which works closer to CSS engines and gets us better compliance with the specs for Flex and Grid containers.

Widgets can now specify size constraints, and users can specify properties for widgets to force them to be a certain size.

The new system also reads some properties from all widgets by default such as background color, padding and corner radius, so that most widgets can display a background by default.

Masonry Testing uses Vello CPU

Masonry's testing harness now uses Vello CPU as its renderer. This has two major impacts:

Masonry has a new gallery example which showcases our different widgets.

Screenshot of widget gallery

Changelog

Xilem

Masonry

Masonry and Xilem

Tree Arena