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, 路径, 渐变, 矢量动画
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Overview
- Documentation
- Basic Usage
- Key Properties
- CRITICAL: Shape Properties vs Widget Properties
- Shape Types
- Path (SVG path data)
- Built-in Shapes
- Gradients
- Linear Gradient
- Radial Gradient
- Groups & Transforms
- Filters
- Tween Animation (SVG Property Animation)
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.
