Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents Makepad 2.0 DSL syntax, the colon property system, named instances, and widget registration via script_mod!.
32% 100%+68 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 7 of 22 without it.
3 of 3 safety checks passed
Not used yet
Makepad 2.0 replaced the compile-time live_design! macro with the runtime script_mod! macro, powered by the Splash scripting language. This skill covers the complete DSL syntax, property system, registration patterns, and common pitfalls.
key: value // CORRECT - colon syntax
key = value // WRONG - old 1.x syntax, no longer works
Properties are whitespace/newline separated. No commas between siblings.
View{
width: Fill
height: Fit
flow: Down
spacing: 10
padding: 15
}
:= OperatorUse := to create addressable, named widget instances:
my_button := Button{ text: "Click me" }
title := Label{ text: "Hello" }
Named instances are:
id!(my_button) or ids!(my_button)MyTemplate{ title.text: "New text" }vec (not map)Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.