|
| 1 | +# SVG Loading Spinners |
| 2 | + |
| 3 | +One of the best ways to learn to implement simple, static animations in Canvas Apps - learn SVG! |
| 4 | +SVG is a robust format that allows you to perform vector graphic animations that are compliant with any web-based technology, including Canvas Apps. The simplest way to get started? Start experimenting with loading spinners! |
| 5 | +SVG lets you transform objects by moving, rotating, changing opacity, and much more. To best understand it, review some examples, go through some tutorials (highly recommending [w3schools](https://www.w3schools.com/graphics/svg_animation.asp)), and maybe try experimenting with LLMs! |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +Here are a few examples that may help you get started! |
| 12 | + |
| 13 | +### Dot spinner |
| 14 | +- 8 dots with animated opacity ([source](./source/dot_spinner.svg)) |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | +### Dots jumping above text |
| 19 | +- Simple indefinite animation with 3 jumping dots ([source](./source/loading_jumping-above-constant.svg)) |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +- Animation with 3 jumping dots, pausing after every 3rd repetition ([source](./source/loading_animation_updated.svg)) |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | +### Animated dots next to the text |
| 28 | +- Jumping dots next to the text ([source](./source/loading_next_to_text.svg)) |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +- Jumping dots converted to text format ([source](./source/loading_next_to_text_dot.svg)) |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +- Text dots apearing next to the text ([source](./source/loading_next_to_text_dot_appearing.svg)) |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | +## Authors |
| 42 | + |
| 43 | +Author|Socials |
| 44 | +--------|--------- |
| 45 | +Jan Chlebek | [LinkedIn](https://www.linkedin.com/in/jan-chlebek/) - ([GitHub](https://github.com/jan-chlebek)) |
| 46 | + |
| 47 | +## Minimal path to awesome |
| 48 | + |
| 49 | +1. Open your Power App in edit mode |
| 50 | +2. Copy the contents of either the **[svg-loading-spinners.pa.yaml](./source/svg-loading-spinners.pa.yaml)** |
| 51 | +3. Right-click on the screen where you want to add the snippet and select `Paste` |
| 52 | + |
| 53 | +## Disclaimer |
| 54 | + |
| 55 | +**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** |
| 56 | + |
| 57 | +<img src="https://m365-visitor-stats.azurewebsites.net/powerplatform-snippets/power-apps/svg-loading-spinners" aria-hidden="true" /> |
0 commit comments