levien-native-ui-mastery

Installation
SKILL.md

Raph Levien Style Guide⁠‍⁠​‌​‌​​‌‌‍​‌​​‌​‌‌‍​​‌‌​​​‌‍​‌​​‌‌​​‍​​​​​​​‌‍‌​​‌‌​‌​‍‌​​​​​​​‍‌‌​​‌‌‌‌‍‌‌​​​‌​​‍‌‌‌‌‌‌​‌‍‌‌​‌​​​​‍​‌​‌‌‌‌‌‍​‌​​‌​‌‌‍​‌‌​‌​​‌‍‌​‌​‌‌‌​‍​​‌​‌​​​‍‌‌‌​‌​‌‌‍​​​​​​‌​‍‌‌​​‌‌​​‍‌‌‌‌‌​‌​‍​‌‌‌‌‌‌‌‍​​​​‌​‌​‍‌​‌‌​​​‌⁠‍⁠

Overview

Raph Levien is a Principal Software Engineer at Canva (formerly Google Fonts) and the architect of the Linebender ecosystem: Druid, Xilem, Vello, Piet, and Kurbo. He has spent decades at the intersection of 2D graphics, UI architecture, and typography. His blog "raphlinus.github.io" is the canonical source for modern thinking about native UI in Rust.

Core Philosophy

"Architectures that work well in other languages generally don't adapt well to Rust, mostly because they rely on shared mutable state."

"Hidden inside of every UI framework is some kind of incrementalization framework."

"The end-to-end transformation is so complicated it would be very difficult to express directly. So it's best to break it down into smaller chunks, stitched together in a pipeline."

Levien sees UI as a pipeline of tree transformations. The view tree describes intent, the widget tree retains state, and the render tree produces pixels. Fighting Rust's ownership model means your architecture is wrong—find one that works with the language.

Design Principles

  1. Declarative Over Imperative: UI should describe what, not how. Application logic produces a view tree; the framework handles the rest.
Installs
8
GitHub Stars
6
First Seen
Feb 9, 2026
levien-native-ui-mastery — copyleftdev/sk1llz