Masonry Widget System

Community

Foundation for building reactive UI with Masonry widgets in Xilem

AuthorCupnfish
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Masonry provides the foundational widget toolkit and layout engine for building reactive UI in Xilem, enabling composable widgets and a clear rendering pipeline.

Core Features & Use Cases

  • Widget trait contract: defines how widgets receive events, layout, paint, and manage children.
  • Pass-based rendering: per-frame passes (mutate, on_xxx_event, anim, update, layout, compose, paint, accessibility) to keep UI in sync.
  • Built-in widgets & patterns: common widgets like Label, Button, TextInput, Flex, Grid, plus extensibility for custom widgets.
  • Architecture & patterns: support for composing widgets, layout strategies, and rendering stack with Vello/wgpu.
  • Use Case: build a simple UI with a Button and Label, then extend with custom Masonry widgets.

Quick Start

Create a basic widget tree using a Label inside a Button and render it within a Masonry-based UI.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Masonry Widget System
Download link: https://github.com/Cupnfish/xilem-skill/archive/main.zip#masonry-widget-system

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.