본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)48k · #5143

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/makepad-2-0-widgets/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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:

  1. Read the relevant reference file(s) listed above
  2. 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.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5143
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬