You can now include vector animations in your prototypes using our Vector animation UI component that can be found in the Basic Components Library. At the moment Proto.io lets you use animation files in JSON format. You can use Adobe After Effects animations exported as JSON files with the Bodymovin plugin, or also check out the animations available to download from the online community LottieFiles. Furthermore, Proto.io has a new Vector animation Icons library for your convenience.
Once you drag a Vector animation UI component to your canvas, you see this where you can preview the animation by clicking on the Play button (bottom-right):
Vector animation components have these new properties:
You can change the animation source file, by choosing one from our icon library, or by uploading your own files in Asset Manager.
Alternatively, you can just drag and drop an animation file (JSON format) onto your Proto.io canvas and a vector animation UI component will be added.
You can control your animations to start/stop and pause/resume whenever you like.
You can also set relevant properties from the beginning through the Inspector (Autoplay, Loop and Animation Playback Speed). Autoplay and Loop are initially checked so that you can preview the animation in Player.
If you want the vector animation itself to be interactive, you can drag the interaction wizard and drop it on the animation itself. You’ll get a dropdown menu with actions to be executed “On Tap”.
You also have the option to Play, Pause and Stop Vector animation in interactions you set up in different UI components. Moreover, there is a new interaction trigger event available, specifically for these animations: “On animation complete”.
New Animated icons library