sickn33/antigravity-awesome-skills/makepad-widgets

Claude Code and agent skill by sickn33/antigravity-awesome-skills

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Select and compose Makepad widgets, configure their properties and styling, and debug widget behavior against a pinned makepad-widgets version.

Install

npx vskill@latest install sickn33/antigravity-awesome-skills/makepad-widgets

SKILL.md

Supporting material availability

This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:

  • ./references/widgets-core.md
  • ./references/widgets-advanced.md
  • ./references/widgets-richtext.md

Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.

Makepad Widgets Skill

Version: makepad-widgets (dev branch) | Last Updated: 2026-01-19
Check for updates: https://crates.io/crates/makepad-widgets

You are an expert at Makepad widgets. Help users by:

  • Writing code: Generate widget code following the patterns below
  • Answering questions: Explain widget properties, variants, and usage

When to Use

  • You need to work with core or advanced widgets in Makepad.
  • The task involves widget selection, properties, variants, composition, or widget-specific behavior.
  • You want examples for View, Button, labels, rich text, or other makepad-widgets building blocks.

Documentation

Refer to the local files for detailed documentation:

  • ./references/widgets-core.md - Core widgets (View, Button, Label, etc.)
  • ./references/widgets-advanced.md - Helper and advanced widgets
  • ./references/widgets-richtext.md - Rich text widgets (Markdown, Html, TextFlow)

IMPORTANT: Documentation Completeness Check

Before answering questions, Claude MUST:

  1. Read the relevant reference file(s) listed above
  2. If file read fails or file is empty:
  • Report the missing reference and the resulting coverage limit; do not recommend an unavailable slash command or claim the missing procedure was followed
  • Use independent inline patterns only after checking their compatibility with the project's pinned crate; identify unverified APIs
  1. If reference file exists, incorporate its content into the answer

Key Patterns

1. View (Basic Container)
rust
<View> {
width: Fill
height: Fill
flow: Down
padding: 16.0
show_bg: true
draw_bg: { color: #1A1A1A }
<Label> { text: "Content" }
}
2. Button
rust
<Button> {
text: "Click Me"
draw_bg: {
color: #0066CC
color_hover: #0088FF
border_radius: 4.0
}
draw_text: {
color: #FFFFFF
text_style: { font_size: 14.0 }
}
}
3. Label with Styling
rust
<Label> {
width: Fit
height: Fit
text: "Hello World"
draw_text: {
color: #FFFFFF
text_style: {
font_size: 16.0
line_spacing: 1.4
}
}
}
4. Image
rust
<Image> {
width: 200.0
height: 150.0
source: dep("crate://self/resources/photo.png")
fit: Contain
}
5. TextInput
rust
<TextInput> {
width: Fill
height: Fit
text: "Default value"
draw_text: {
text_style: { font_size: 14.0 }
}
}

Widget Traits (from source)

rust
pub trait WidgetNode: LiveApply {
fn find_widgets(&self, path: &[LiveId], cached: WidgetCache, results: &mut WidgetSet);
fn walk(&mut self, cx: &mut Cx) -> Walk;
fn area(&self) -> Area;
fn redraw(&mut self, cx: &mut Cx);
}
pub trait Widget: WidgetNode {
fn handle_event(&mut self, cx: &mut Cx, event: &Event, scope: &mut Scope) {}
fn draw_walk(&mut self, cx: &mut Cx2d, scope: &mut Scope, walk: Walk) -> DrawStep;
fn draw(&mut self, cx: &mut Cx2d, scope: &mut Scope) -> DrawStep;
fn widget(&self, path: &[LiveId]) -> WidgetRef;
}

All Built-in Widgets (84 files in widgets/src/)

CategoryWidgets
BasicView, Label, Button, Icon, Image
InputTextInput, CheckBox, RadioButton, Slider, DropDown, ColorPicker
ContainerScrollBars, PortalList, FlatList, StackNavigation, Dock, Splitter
NavigationTabBar, Tab, FoldHeader, FoldButton, ExpandablePanel
OverlayModal, Tooltip, PopupMenu, PopupNotification
MediaVideo, RotatedImage, ImageBlend, MultiImage
LayoutAdaptiveView, SlidePanel, PageFlip, SlidesView
SpecialMarkdown, Html, TextFlow, WebView, KeyboardView
UtilityLoadingSpinner, DesktopButton, LinkLabel, ScrollShadow

Core Widgets Reference

WidgetPurposeKey Properties
ViewContainerflow, align, show_bg, draw_bg, optimize
ButtonClickabletext, draw_bg, draw_text, draw_icon
LabelText displaytext, draw_text
ImageImage displaysource, fit
TextInputText entrytext, draw_text, draw_cursor, draw_selection
CheckBoxToggletext, selected
RadioButtonSelectiontext, selected
SliderValue slidermin, max, step
DropDownSelect menulabels, selected
PortalListVirtual listEfficient scrolling for large lists
ModalDialogOverlay dialog boxes
TooltipHintHover tooltips

View Variants

VariantDescription
SolidViewSolid background color
RoundedViewRounded corners
RoundedAllViewIndividual corner control
RectViewRectangle with border/gradient
CircleViewCircle/ellipse shape
GradientXViewHorizontal gradient
GradientYViewVertical gradient
RoundedShadowViewRounded with shadow
ScrollXViewHorizontal scroll
ScrollYViewVertical scroll
ScrollXYViewBoth directions scroll
CachedViewTexture-cached

Button Variants

VariantDescription
ButtonFlatFlat style
ButtonFlatIconFlat with icon
ButtonFlatterNo background
ButtonGradientXHorizontal gradient
ButtonGradientYVertical gradient
ButtonIconStandard with icon

ImageFit Values

ValueDescription
StretchStretch to fill
ContainFit within, preserve ratio
CoverCover area, may crop
FillFill without ratio

When Writing Code

  1. Always set width and height on widgets
  2. Use show_bg: true to enable background rendering
  3. Access draw_bg, draw_text, draw_icon for shader uniforms
  4. Use dep("crate://self/...") for resource paths
  5. Choose appropriate View variant for visual needs

When Answering Questions

  1. Recommend UI Zoo example for widget exploration
  2. View is the base container - most visual widgets inherit from it
  3. Draw shaders (draw_bg, draw_text) control appearance
  4. All widgets support animation through animator property

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
35,905
Repository forks
5,885
Repository npm downloads, 7 days
7,289
7-day trend score
74

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 1 May 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sickn33/antigravity-awesome-skills/makepad-widgets/badge)](https://verified-skill.com/skills/sickn33/antigravity-awesome-skills/makepad-widgets)

Something wrong with this skill or its page? Tell us.