vectojs-ui-animation
Installation
SKILL.md
VectoJS UI Animation
Use this skill to turn VectoJS components into usable, accessible, and polished UI rather than just canvas drawings.
Interaction workflow
- Start with semantic components from
@vectojs/uibefore writing custom controls. - Model each interaction state: idle, hover, active, focus, loading, disabled, error, and success.
- Use canvas motion for feedback, but preserve semantic state through the projected DOM.
- Respect reduced motion. Suppress transform-heavy movement and keep essential opacity/state feedback.
- Keep overlays in the Scene overlay root; dispose or hide transient UI when its target leaves the tree.
- Test with keyboard and role-based automation, not only pointer clicks.
Read references/ui-recipes.md for patterns and snippets.