Skip to main content
skill CX Codex

makepad-2.0-vector — Claude Code skill: what it does, how to install

Teaches your coding assistant how to write vector shapes and animations for Makepad 2.0. Generates inline SVG paths, gradients, and UI icons.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-vector -a claude-code
Open on GitHub

What makepad-2.0-vector does

The skill guides code generation for the Makepad 2.0 Vector component in Splash. Instead of loading asset files with Svg, it defines resolution-independent paths, rectangles, circles, and drop shadows directly in Rust UI declarations.

Vector elements rely strictly on SVG attributes such as fill or stroke_width. Standard Makepad draw_bg.* styling rules produce zero visual effect on these inner shapes. Keyframe transitions use Tween assigned right to a property value rather than a separate wrapper node.

Repeating animations need a boolean loop_: true or a raw number: passing a string argument breaks the loop logic and stops after one pass. The skill targets the active dev branch of makepad-widgets.

What it helps with

  • render vector icons directly in Makepad UI code
  • configure linear and radial gradients without external asset files
  • animate shape coordinates and colors using Tween properties
  • group vector primitives with matrix transforms and drop shadows

Example prompts for the agent

  • Build a checkmark icon using the Vector widget and an SVG path for my Makepad interface
  • Create a pulsing status circle using Tween property animation in Makepad
  • Draw a rectangle with rounded corners and a linear gradient fill in Splash

How to install makepad-2.0-vector

1Skills CLI (Vercel)

npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-vector -a claude-code

2Manually: put the files in place

~/.claude/skills/makepad-2.0-vector/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/makepad-2.0-vector/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about makepad-2.0-vector

How do I install makepad-2.0-vector in Claude Code?

Run npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-vector -a claude-code in your terminal.

What does makepad-2.0-vector do?

It instructs the coding agent on Makepad 2.0 vector primitives, SVG path formatting, gradient declarations, and animation properties.

How does Tween handle looping?

Pass loop_: true for continuous animation or a float for a fixed repeat count. Using a string like "indefinite" causes the animation to trigger only once.

Similar skills

All skills for Frontend and UI →

From the same set14

makepad-2.0-widgets Tells your agent which widgets Makepad 2.0 ships and how to write them in Splash. Useful when you build UI and keep forgetting property names. CX Codex +1 ★ 751repo stars makepad-2.0-troubleshooting A skill that walks through the usual Makepad 2.0 and Splash failures: layouts that never appear, text hidden behind a background, broken overrides. Useful when the UI compiles but looks wrong. CX Codex +1 ★ 751repo stars makepad-2.0-theme A skill covering the Makepad 2.0 theme system: theme.* variables, dark and light modes, colors, fonts and spacing in Splash. CX Codex +1 ★ 751repo stars makepad-2.0-splash Guides coding agents through the Splash scripting language for Makepad 2.0. Helps build reactive UIs inside Rust while avoiding silent layout bugs. CX Codex +1 ★ 751repo stars makepad-2.0-shaders This skill guides agents writing Makepad 2.0 shaders, from SDF2D shapes to custom widget drawing. Use it when shader work needs to follow Makepad’s GPU conventions. CX Codex +1 ★ 751repo stars makepad-2.0-performance A skill for tuning and debugging Makepad 2.0: draw batching, Splash VM garbage collection and texture caching explained. CX Codex +1 ★ 751repo stars makepad-2.0-migration Guides coding assistants through upgrading Rust UI code from Makepad 1.x to 2.0. Helps rewrite layout macros and lifecycle hooks. CX Codex +1 ★ 751repo stars makepad-2.0-layout This skill guides an agent through sizing widgets and arranging children in Makepad 2.0. Use it when building a screen or tracing an invisible container. CX Codex +1 ★ 751repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor