What problem does it solve?
Building UIs in Makepad 2.0 requires knowing which widgets exist, their properties, and non-obvious rendering rules (like new_batch for text visibility). This Skill gives the AI a complete widget catalog and critical usage rules so generated Makepad UI code is correct on the first attempt.
Core Features & Use Cases
- Complete Widget Catalog: Covers containers (View, SolidView, RoundedView), text (Label, H1-H4, TextInput), buttons, toggles, sliders, dropdowns, media (Image, Svg, MapView), lists (PortalList, FlatList), navigation (Modal, PageFlip, StackNavigation), and the Dock system.
- Critical Rendering Rules: Documents mandatory patterns such as height: Fit on containers, new_batch: true for colored containers with text, and fixed pixel height for MapView.
- Advanced Patterns: Reference files detail PortalList virtualization with Rust draw loops, Dock tab layouts, custom widget creation with derive macros, and widget action handling from Rust.
- Use Case: Ask the AI to build a settings screen with a scrollable list, sliders, and toggles in Makepad 2.0, and receive DSL code that follows all layout and batching rules.
Quick Start
Use the makepad-2.0-widgets skill to build a Makepad 2.0 settings page with a ScrollYView containing a TextInput, a Slider, and a Toggle.