makepad-2-0-widgets
하는 일
이 가이드는 Makepad 2.0으로 앱의 시각 인터페이스(화면)를 만드는 데 도움을 줍니다. 버튼, 텍스트 입력란, 이미지 같은 사용 가능한 구성 요소를 보여 주고 사용하는 방법을 알려 줍니다.
사용하는 경우
- ✓앱의 모습과 느낌을 디자인할 때.
- ✓버튼이나 텍스트 입력란을 추가하고 싶을 때.
- ✓이미지나 목록을 표시해야 할 때.
스킬 링크
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에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“‘Save’라는 글자가 있는 클릭 가능한 버튼은 어떻게 만드나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
Makepad 2.0은 ‘위젯’을 제공합니다. 위젯은 인터페이스를 만드는 레고 블록과 같으며, 각자 특정 역할(글자 표시, 입력 받기 등)과 조정 가능한 속성을 가집니다.
기술 내용 (원본 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`입니다.
색이 있는 배경 위에 텍스트를 표시하려면 어떻게 하나요?
배경 색상 속성과 함께 `new_batch: true`를 사용해 텍스트가 배경 위에 올바르게 그려지도록 합니다.
스크롤 가능한 목록은 어떻게 만드나요?
가로 스크롤은 `ScrollXView`, 세로 스크롤은 `ScrollYView`, 양방향 모두는 `ScrollXYView`를 씁니다.
상세 정보
작성자의 원본 설명
Makepad 2.0 guidance for widgets; use when building or debugging Makepad UI code.
인기도
- GitHub 스타
- 48k
- 순위
- #5143
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.