🧩
Frontend

Makepad 2.0 Events

by ZhangHanDong

Makepad 2.0 Events is a Frontend skill for Claude Code, published by ZhangHanDong in makepad-skills.

745 stars87 forkson ZhangHanDong/makepad-skillsAdded 2026/08/23Repository updated 2026/04/07
appclaudeclaude-codecross-platformmakepadrustskills
Install in seconds
Install Makepad 2.0 Events
Copy Makepad 2.0 Events into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/ZhangHanDong/makepad-skills/tree/main/skills/makepad-2.0-events ~/.claude/skills/makepad-2.0-events

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/ZhangHanDong/makepad-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/makepad-2.0-events/SKILL.md in ZhangHanDong/makepad-skills
Installs to
~/.claude/skills/makepad-2.0-events
Collection
One of 14 skills cataloged from this repository
Category
Frontend567 skills

What Makepad 2.0 Events does

Makepad 2.0 Events covers Splash inline handlers and Rust-side MatchEvent handling for UI events, actions, input, and lifecycle callbacks. Use it when wiring clicks, text input, render updates, or platform events in Makepad 2.0.

Makepad 2.0 Events is cataloged under Frontend on DirSkills. Makepad 2.0 Events comes from a repository tagged app, claude, claude-code, cross-platform and makepad.

Documentation

README

Makepad 2.0 Event & Action System

Overview

Makepad 2.0 uses a two-layer event system:

  1. Splash Layer -- Inline event handlers written directly in script_mod! Splash code (on_click, on_render, on_return, on_startup). These handle UI interactions declaratively inside the script, close to the widget definitions.

  2. Rust Layer -- The MatchEvent trait with handle_actions, handle_timer, handle_http_response, etc. These handle business logic, external I/O, and anything that needs full Rust power.

Both layers communicate through two bridge macros:

  • script_eval!(cx, { ... }) -- Execute Splash code from Rust (update state, trigger renders)
  • script_apply_eval!(cx, widget_ref, { ... }) -- Patch widget properties from Rust at runtime

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Makepad 2.0 Events

  • What else does ZhangHanDong publish alongside Makepad 2.0 Events?

    Makepad 2.0 Events is one of 14 skills that DirSkills catalogs from ZhangHanDong/makepad-skills, the repository it ships in. Its siblings there include Makepad 1.x To 2.0 Migration, Makepad 2.0 App Structure and Makepad 2.0 DSL. Each one is a separate skill with its own page in this directory, installs the same way Makepad 2.0 Events does, and is maintained by ZhangHanDong in that same repository. The rest of the collection is listed on the ZhangHanDong/makepad-skills page.

  • How does Makepad 2.0 Events compare to other Frontend skills?

    Makepad 2.0 Events ranks #398 by stars among the 567 Frontend skills in this catalog. The most-starred ones next to it are Angular Developer, Android Clean Architecture and Accessibility. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Makepad 2.0 Events against them. Open each page to compare what they document and how they install.

More from ZhangHanDong/makepad-skills

Makepad 2.0 Events is one of 14 skills cataloged on DirSkills from ZhangHanDong/makepad-skills.

See all 14 skills
🔧
1w ago

Makepad 1.x To 2.0 Migration

Makepad 1.x To 2.0 Migration helps convert Makepad 1.x code to 2.0 syntax and APIs. Use it when replacing live_design, LiveHook, apply_over, or old widget syntax during an upgrade.
Frontend
74587
🧩
1w ago

Makepad 2.0 App Structure

Makepad 2.0 App Structure explains how to set up a Makepad app with Rust, Splash scripting, event handling, and hot reload. Use it when starting a new Makepad project or wiring Rust and UI code together.
Frontend
74587
🧩
1w ago

Makepad 2.0 DSL

Makepad 2.0 DSL explains the script_mod! syntax, property system, and widget registration used in Makepad 2.0. Use it when writing or updating Makepad UI scripts, templates, and custom widget modules.
Frontend
74587
🎨
1w ago

Makepad 2.0 Shaders

Makepad 2.0 Shaders covers Makepad's inline GPU shader system for draw_bg, draw_text, and custom draw types. Use it when writing pixel and vertex functions, SDF2D shapes, or premultiplied-alpha colors.
Frontend
74587
🎨
1w ago

Makepad 2.0 Theme

Makepad 2.0 Theme provides the theme variables and built-in themes used in Splash scripts for colors, typography, spacing, and widget states. Use it when setting up app themes, switching dark and light modes, or styling UI with theme.* values instead of hardcoded numbers.
Frontend
74587
🛠️
1w ago

Makepad 2.0 Troubleshooting

Makepad 2.0 Troubleshooting helps diagnose common Makepad 2.0 and Splash issues like invisible UI, missing text, failed clicks, hot reload problems, and build errors. Use it to find the likely cause and the correct fix.
Quality
74587