makepad-2-0-widgets
यह क्या करती है
यह गाइड Makepad 2.0 की मदद से आपके ऐप्स के लिए विज़ुअल इंटरफ़ेस (स्क्रीन) बनाने में मदद करती है। इसमें बटन, टेक्स्ट फ़ील्ड और इमेज जैसे उपलब्ध बिल्डिंग ब्लॉक्स दिखाए गए हैं और बताया गया है कि उन्हें कैसे इस्तेमाल करें।
कब इस्तेमाल करें
- ✓जब किसी ऐप का लुक और फ़ील डिज़ाइन करना हो।
- ✓जब बटन या टेक्स्ट इनपुट फ़ील्ड जोड़ने हों।
- ✓जब इमेज या लिस्ट दिखानी हो।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/makepad-2-0-widgets/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं 'Save' टेक्स्ट वाला क्लिक करने लायक बटन कैसे बनाऊँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
Makepad 2.0 में 'widgets' मिलते हैं, जो लेगो ब्रिक्स की तरह होते हैं। हर widget का एक खास काम होता है (जैसे टेक्स्ट दिखाना या इनपुट लेना) और उसकी कुछ properties होती हैं, जिन्हें आप बदल सकते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
When to Use
- Use when this upstream workflow matches the user's stated goal.
- Use when the task requires the procedures documented in this skill.
Makepad 2.0 Widget Catalog Skill
Version: makepad-widgets (dev branch) | Last Updated: 2026-03-03
Overview
Makepad 2.0 provides a rich set of built-in widgets for building UIs. All widgets are defined in Splash syntax and registered via script_mod!.
Documentation
Refer to the local files for detailed documentation:
./references/widget-catalog.md- Complete widget list with properties./references/widget-advanced.md- Advanced patterns: PortalList, Dock, custom widgets, MapView
IMPORTANT: Documentation Completeness Check
Before answering questions, Claude MUST:
- Read the relevant reference file(s) listed above
- Incorporate reference content into the answer
Widget Categories Quick Reference
Containers (Layout)
| Widget | Description | Key Properties |
|---|---|---|
View |
Basic container (transparent) | width, height, flow, spacing, padding, align |
SolidView |
View with solid background | + show_bg: true, draw_bg.color |
RoundedView |
View with rounded corners | + draw_bg.border_radius |
RoundedAllView |
All corners same radius | + border_radius shorthand |
GradientXView |
Horizontal gradient bg | + draw_bg colors |
GradientYView |
Vertical gradient bg | + draw_bg colors |
ScrollXView |
Horizontal scrolling | scroll property |
ScrollYView |
Vertical scrolling | scroll property |
ScrollXYView |
Both-axis scrolling | scroll property |
Text Widgets
| Widget | Description | Key Properties |
|---|---|---|
Label |
Single/multi-line text | text, draw_text.color, draw_text.text_style.font_size |
H1 - H4 |
Heading levels | text (pre-styled) |
P |
Paragraph text | text |
TextInput |
Editable text field | text, empty_text, password, read_only, numeric_only |
Markdown |
Markdown renderer | body |
Html |
HTML renderer | body |
LinkLabel |
Clickable link text | text, url |
Buttons
| Widget | Description | Key Properties |
|---|---|---|
Button |
Standard button | text |
ButtonFlat |
Flat style button | text |
ButtonFlatter |
Minimal button | text |
Toggles
| Widget | Description | Key Properties |
|---|---|---|
CheckBox |
Check box | text, active |
Toggle |
Toggle switch | text, active |
RadioButton |
Radio button | text, active |
Input Widgets
| Widget | Description | Key Properties |
|---|---|---|
Slider |
Horizontal slider | min, max, step, default, precision |
DropDown |
Dropdown select | labels: ["a", "b", "c"] |
Media
| Widget | Description | Key Properties |
|---|---|---|
Image |
Image display | source, fit (Stretch/Horizontal/Vertical/Smallest/Biggest/Size) |
Svg |
External SVG file renderer | draw_svg.svg (crate_resource/http_resource), animating, draw_svg.color |
Icon |
SVG icon (tinted) | draw_icon.svg, draw_icon.color, icon_walk |
Vector |
Inline vector graphics | viewbox, Path{d: "..."} |
LoadingSpinner |
Loading indicator | color, rotation_speed |
MapView |
Map widget | center_lon, center_lat, zoom (MUST use fixed height!) |
Layout Helpers
| Widget | Description | Usage |
|---|---|---|
Hr |
Horizontal rule | Divider line |
Vr |
Vertical rule | Vertical divider |
Filler |
Flexible space | Push siblings apart (use between Fit siblings only!) |
Splitter |
Resizable split | axis: Horizontal/Vertical, a/b children |
FoldHeader |
Collapsible section | header + body children |
Lists
| Widget | Description | Usage |
|---|---|---|
PortalList |
Virtualized list | For large lists (100+ items), only renders visible items |
FlatList |
Simple list | For small lists, renders all items |
Navigation
| Widget | Description | Control |
|---|---|---|
Modal |
Modal dialog | .open(cx) / .close(cx) from Rust |
Tooltip |
Tooltip popup | Hover-triggered |
PopupNotification |
Toast notification | Timed display |
SlidePanel |
Sliding panel | slide_from |
ExpandablePanel |
Expandable area | open/close |
PageFlip |
Page switcher | active_page: page_name |
…
अक्सर पूछे जाने वाले सवाल
`View` और `SolidView` में क्या अंतर है?
`View` एक सादा पारदर्शी कंटेनर है, जबकि `SolidView` एक `View` है जिसका बैकग्राउंड ठोस रंग का हो सकता है।
टेक्स्ट को रंगीन बैकग्राउंड पर कैसे दिखाऊँ?
बैकग्राउंड कलर properties के साथ `new_batch: true` इस्तेमाल करें, ताकि टेक्स्ट बैकग्राउंड के ऊपर सही तरीके से बने।
स्क्रॉल होने वाली लिस्ट कैसे बनाऊँ?
हॉरिज़ॉन्टल स्क्रॉलिंग के लिए `ScrollXView`, वर्टिकल के लिए `ScrollYView`, और दोनों दिशाओं के लिए `ScrollXYView` इस्तेमाल करें।
जानकारी
लेखक का मूल विवरण
Makepad 2.0 guidance for widgets; use when building or debugging Makepad UI code.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5143
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।