🎨
Frontend

Makepad 2.0 Shaders

by ZhangHanDong

Makepad 2.0 Shaders 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 Shaders
Copy Makepad 2.0 Shaders 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-shaders ~/.claude/skills/makepad-2.0-shaders

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-shaders/SKILL.md in ZhangHanDong/makepad-skills
Installs to
~/.claude/skills/makepad-2.0-shaders
Collection
One of 14 skills cataloged from this repository
Category
Frontend567 skills

What Makepad 2.0 Shaders does

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.

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

Documentation

README

Makepad 2.0 Shader Skill

Version: makepad-widgets (dev branch) | Last Updated: 2026-03-03

Overview

Makepad uses a custom GPU shader system integrated into the widget property tree. Shaders are defined inline using pixel: fn() { ... } and vertex: fn() { ... } blocks within draw_bg, draw_text, or custom draw objects.

Documentation

Refer to the local files for detailed documentation:

  • ./references/shader-reference.md - Shader syntax, variables, built-ins, custom functions
  • ./references/sdf2d-reference.md - SDF2D primitives, combinators, drawing operations

Shader Basics

Pixel Shader Structure

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

Frequently asked about Makepad 2.0 Shaders

  • What else does ZhangHanDong publish alongside Makepad 2.0 Shaders?

    Makepad 2.0 Shaders 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 Shaders 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 Shaders compare to other Frontend skills?

    Makepad 2.0 Shaders ranks #399 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 Shaders against them. Open each page to compare what they document and how they install.

More from ZhangHanDong/makepad-skills

Makepad 2.0 Shaders 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 Events

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.
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