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
Comments
No comments yet. Be the first to comment!
Related Tools
Makepad Core Concepts
makepad.nl
Fundamental building blocks of Makepad UI development including layout systems, widgets, event handling, and styling with live_design! macro.
Makepad Getting Started
makepad.nl
Entry point for Makepad development with Claude. Learn project setup, structure, and available skills for building cross-platform UI applications with Rust.
Makepad Patterns
makepad.nl
Reusable patterns for Makepad widget development, data management, and async architecture. Covers modal overlays, state machines, async loading, and Tokio integration.
Related Insights

Grok Bot and Hermes Bot: one person finally gets a think tank and a secretariat
Grok Bot now ships with Cursor Pro+. Hermes Bot runs on a VPS. They are not smarter chat boxes. The think tank advises, the secretariat executes, and you still make the call.
Hook OpenCode Go into Codex on Windows. Do Not Open a Second Toolkit.
A ChatGPT-signed Codex desktop app still shows mostly GPT in the picker. On Windows, enable only OpenCode Go and the Grok, GLM, Kimi, DeepSeek, and MiniMax models you already pay for appear in the same selector. Keys stay local. Native GPT stays put.
What Locks Codex Is the Picker, Not the Models
You already pay for OpenCode Go, Grok, and Z.ai, but the Codex picker still shows mostly GPT. The community project codex-router does not teach another install ritual. It puts subscriptions you already bought back into the selector, keeps keys on the machine, and leaves native GPT alone.