Skip to content

Commit e6c710d

Browse files
authored
SVG Loading Spinners (#95)
One of the best ways to learn to implement simple, static animations in Canvas Apps - learn SVG! 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! SVG lets you transform objects by moving, rotating, changing opacity, and much more.
2 parents 282b0b0 + dba4759 commit e6c710d

11 files changed

+386
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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+
![preview](./assets/svg-loading-spinners.gif)
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+
![preview](./source/dot_spinner.svg)
17+
18+
### Dots jumping above text
19+
- Simple indefinite animation with 3 jumping dots ([source](./source/loading_jumping-above-constant.svg))
20+
21+
![preview](./source/loading_jumping-above-constant.svg)
22+
23+
- Animation with 3 jumping dots, pausing after every 3rd repetition ([source](./source/loading_animation_updated.svg))
24+
25+
![preview](./source/loading_jumping-above-periodic.svg)
26+
27+
### Animated dots next to the text
28+
- Jumping dots next to the text ([source](./source/loading_next_to_text.svg))
29+
30+
![preview](./source/loading_next_to_text.svg)
31+
32+
- Jumping dots converted to text format ([source](./source/loading_next_to_text_dot.svg))
33+
34+
![preview](./source/loading_next_to_text_dot.svg)
35+
36+
- Text dots apearing next to the text ([source](./source/loading_next_to_text_dot_appearing.svg))
37+
38+
![preview](./source/loading_next_to_text_dot_appearing.svg)
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" />
2.41 MB
Loading
Binary file not shown.
853 KB
Loading
Lines changed: 35 additions & 0 deletions
Loading
Lines changed: 16 additions & 0 deletions
Loading
Lines changed: 15 additions & 0 deletions
Loading
Lines changed: 15 additions & 0 deletions
Loading
Lines changed: 15 additions & 0 deletions
Loading
Lines changed: 15 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)