Agent skill

makepad-2.0-vector

makepad vector, Vector widget, SVG path, makepad path, makepad circle, makepad gradient, makepad tween, vector animation, Gradient, RadGradient, Filter, DropShadow, Group transform, vector drawing, inline SVG, 矢量图形, SVG, 路径, 渐变, 矢量动画

ZhangHanDonggithub.com/ZhangHanDongGitHub ↗
claude-code
Install
npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-vector --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/makepad-2.0-vector/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 745

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Makepad 2.0 Vector Graphics Skill > **Version:** makepad-widgets (dev branch) | **Last Updated:** 2026-03-03 ## Overview The `Vector` widget renders resolution-independent vector graphics using SVG-like syntax. It supports paths, shapes, gradients, filters, groups, transforms, and property animation via `Tween`. **Two ways to use SVG in Splash:** - **`Vector{}`** - Define shapes inline in Splash (paths, rects, circles, etc.) - **`Svg{}`** - Load external `.svg` files via `crate_resource()` or `http_resource()`, with optional animation and custom GPU shaders ## Documentation Refer to the local files for detailed documentation: - `./references/vector-reference.md` - Complete Vector API, shapes, gradients, filters, animation --- ## Basic Usage ``` Vector{ width: 48 height: 48 viewbox: vec4(0 0 24 24) Path{ d: "M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5" fill: false stroke: #4488ff stroke_width: 2.0 stroke_linecap: "round" stroke_linejoin: "round" } } ``` ### Key Properties | Property | Description | Example | |----------|-------------|---------| | `width` / `height` | Widget size in pixels | `48` | | `viewbox` | SVG viewBox as vec4 | `vec4(0 0 24 24)` | ### CRITICAL: Sh

What's inside
Steps it walks through
  1. Overview
  2. Documentation
  3. Basic Usage
  4. Key Properties
  5. CRITICAL: Shape Properties vs Widget Properties
  6. Shape Types
  7. Path (SVG path data)
  8. Built-in Shapes
  9. Gradients
  10. Linear Gradient
  11. Radial Gradient
  12. Groups & Transforms
  13. Filters
  14. Tween Animation (SVG Property Animation)
Ships with 1 file
  • references/vector-reference.md
More from makepad-skills
All skills →
About this skill
What does the makepad-2.0-vector skill do?

makepad vector, Vector widget, SVG path, makepad path, makepad circle, makepad gradient, makepad tween, vector animation, Gradient, RadGradient, Filter, DropShadow, Group transform, vector drawing, inline SVG, 矢量图形, SVG, 路径, 渐变, 矢量动画

How do I install it?

Run `npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-vector --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ZhangHanDong/makepad-skills, a repository with 745 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going