Makepad Components Gallery
Quick reference for Makepad built-in widgets with usage examples extracted from ui_zoo.
Quick Navigation
| Widget Type | Description |
|---|---|
| Buttons | Button, ButtonGradient, ButtonIcon |
| Text Input | TextInput variants |
| Sliders | Slider, SliderRound, SliderMinimal |
| Checkboxes | CheckBox, CheckBoxToggle |
| Radio Buttons | RadioButton groups |
| Dropdowns | Dropdown menus |
| Labels | Label, H1-H4, P |
| Icons & Images | Icon, Image, RotatedImage |
| Views & Containers | RoundedView, ScrollView |
| Lists | PortalList (virtual) |
| Navigation | PageFlip, Fold |
Button Variants
live_design! {
// Standard Button
<Button> { text: "Click me" }
// Button with icon
<Button> {
draw_icon: {
svg_file: dep("crate://self/resources/icon.svg")
color: #fff
}
text: "With Icon"
}
// Gradient Buttons
<ButtonGradientX> { text: "Gradient X" }
<ButtonGradientY> { text: "Gradient Y" }
// Icon-only Button
<ButtonIcon> {
draw_icon: {
svg_file: dep("crate://self/resources/icon.svg")
}
}
}
Text Input
live_design! {
// Standard TextInput
<TextInput> { empty_text: "Enter text." }
// Password input
<TextInput> {
empty_text: "Password"
password: true
}
// Multi-line
<TextInput> {
empty_text: "Enter description"
height: Fill
}
}
Sliders
live_design! {
// Standard Slider
<Slider> { min: 0, max: 100, value: 50 }
// Round Slider
<SliderRound> { min: 0, max: 1.0, value: 0.5 }
// Minimal Slider
<SliderMinimal> { min: 0, max: 100, value: 25 }
}
Checkboxes & Radio Buttons
live_design! {
// CheckBox
<CheckBox> { text: "Enable feature" }
// Toggle Switch
<CheckBoxToggle> { text: "Dark mode" }
// Radio Button Group
<View> {
flow: Down, spacing: 10
<RadioButton> { radio_id: 1, text: "Option 1" }
<RadioButton> { radio_id: 2, text: "Option 2" }
<RadioButton> { radio_id: 3, text: "Option 3" }
}
}
Virtual Lists (PortalList)
live_design! {
<PortalList> {
drag_scrolling: true
item_template: <ItemView> {
// Template for each item
}
}
}
Resources
Related: Agent Messaging Skill and Agent Ops Incident Notifier. Hub: skills.
Comments
No comments yet. Be the first to comment!
Related Tools
Related Insights

Anthropic Subagent: The Multi-Agent Architecture Revolution
Deep dive into Anthropic multi-agent architecture design. Learn how Subagents break through context window limitations, achieve 90% performance improvements, and real-world applications in Claude Code.
Seven AI Coding CLIs, Six Months: No Matter How Strong the Model, Work Needs Supervision
Claude Code, Codex, opencode, pi, omp and DeepSeek Harness all have personalities. After six months of deep use I run a division of labor: pi for the fastest cheapest reviews, omp for complex PRs, DeepSeek Harness on V4 Flash for high-frequency low-cost review, and Claude Code, Qoder and Cursor for writing. No matter how strong the model, work needs supervision — ideally from an independent third party.
Skills + Hooks + Plugins: How Anthropic Redefined AI Coding Tool Extensibility
An in-depth analysis of Claude Code's trinity architecture of Skills, Hooks, and Plugins. Explore why this design is more advanced than GitHub Copilot and Cursor, and how it redefines AI coding tool extensibility through open standards.