What problem does it solve?
Building icons, illustrations, and animated vector graphics in Makepad 2.0 requires knowing the Vector widget's SVG-style property model, which differs from standard widget draw_bg properties and has subtle pitfalls like Tween loop syntax and hex color escaping.
Core Features & Use Cases
- Inline Vector Shapes: Define Path, Rect, Circle, Ellipse, Line, Polyline, and Polygon shapes directly in Splash with SVG path data and viewbox coordinate spaces.
- Gradients, Filters & Transforms: Apply linear/radial gradients, DropShadow filters, and Group transforms including animated Rotate, Scale, and Translate.
- Tween Property Animation: Animate any shape property (fill, stroke, opacity, cx, d path morphing) with Tween values supporting loops, delays, and keyframes.
- Use Case: Build a themed icon set for a Makepad app by defining reusable Vector icons with let bindings, stroke-based paths, and theme colors that adapt to dark/light modes.
Quick Start
Ask the AI to create a Makepad 2.0 Vector icon with an SVG path, rounded stroke caps, and a pulsing opacity animation using Tween.