Skip to content

Animations for Power Apps

The Animations family is the moving pieces for a Power Apps screen: a progress bar, a progress circle, a number that counts up, a loading spinner, a success check that draws itself, a sliding two-option toggle, a list whose rows fade in one after another, and an animated bar chart and line chart. Each one is an SVG picture inside an Image control that animates with CSS, so the motion is smooth and almost nothing depends on a Timer control. Every component in this family needs a paid plan, and none of them has a Modern YAML version.

Pick a variant

  • Animated Line ChartPaid

    A dashboard line chart from typed values or a SharePoint list

    Settings: Connect to SharePoint Data with SharePoint List Name, X-Axis Label Column and Y-Axis Value Column; Chart Title, Y-Axis Labels, X-Axis Labels, Data Values; Glow Effect, Shadow Effects, Area Gradient Fill; Line Gradient Colors and Area Fill Gradient Colors; five Animate switches; Animation Speed Multiplier (0.5 to 3)

  • Animated TogglePaid

    Switching between two options or views, such as List and Board

    Settings: Left option, Right option; Pill and Track colors; Width (px), Height (px), Slide duration (seconds)

  • Count-up NumberPaid

    A KPI figure that counts up from 0 to its target

    Settings: Target value, Prefix, Suffix, Decimals (0 to 3), Caption; Duration (seconds), Count when the screen opens, Show a replay icon; Alignment (Left, Center, Right)

  • Progress BarPaid

    A short step of known length, such as an upload or an import

    Settings: Status while running, Button text; Width (px), Bar height (4 to 40 px), Duration (seconds); Show percentage, Show the Start button, Turn green when done

  • Progress CirclePaid

    A dashboard ring that shows a percentage from your own formula

    Settings: Value (0 to 100), Caption, Show the number in the middle; Ring size (px), Ring thickness (2 to 20); Show a replay icon, Sweep duration (seconds)

  • Success CheckPaid

    Confirming a save right after a Patch or SubmitForm

    Settings: Message, Second line; Color, Mark size (px), Draw duration (seconds); Hide again after (seconds), Include a demo button, Demo button text

  • Staggered Fade-inPaid

    A list or activity feed whose rows arrive one after another

    Settings: Heading, Demo rows (2 to 6); Delay between rows (seconds), Fade duration per row (seconds), Slide up distance (px); Play when the screen opens, Show a replay icon

  • Animated Bar ChartPaid

    A small bar chart from labels and values typed in Settings

    Settings: Title, Labels (comma separated), Values (comma separated), Value prefix, Value suffix; Bar color, Show values above bars, Show grid lines; Width (px), Height (px), Speed (0.25 to 4)

  • Loading SpinnerPaid

    A please wait sign that shows while data loads

    Settings: Spinner (Ring, Dots or Bars), Color, Size (px), Speed (0.25 to 4); Show a caption, Caption text

Paid means any paid plan (which plan do I need?). Open the category in the library: Animations.

To copy a variant into Power Apps Studio, follow Getting Started.

After you paste

Every component pastes with demo values. To make it yours, swap the demo value for your own formula or run the formulas the demo controls run. Names below use the default var, lbl, img and con prefixes.

Put this in the Text property of the hidden label lblCircleValue (75 after pasting) to drive the Progress Circle from a table called Tasks with a Boolean column called Done. The ring imgCircleRing and the number lblCircleNumber both read that label.

Round(100 * CountRows(Filter(Tasks, Done)) / CountRows(Tasks), 0)

Put this after your own Patch, or in the OnSuccess property of a form, to show the Success Check. It is the formula of the demo button btnSuccessDemo. varShowSuccess shows the mark and its two labels, and varSuccessCount makes the tick draw again on every save.

Set(varSuccessCount, Coalesce(varSuccessCount, 0) + 1);
Set(varShowSuccess, true)

Put this where your own work starts to run the Progress Bar without its Start button btnBarStart:

Set(varBarRun, Coalesce(varBarRun, 0) + 1);
Set(varBarRunning, true)

The Loading Spinner container conLoadingSpinner is always visible after pasting. Set its Visible property to a Boolean variable of your own, such as varIsLoading, and switch that variable around the slow step:

Set(varIsLoading, true);
Refresh(Orders);
Set(varIsLoading, false)

Put this in the OnSelect property of any button to play the Count-up Number again. The same pattern replays the Progress Circle with varCircleRun, the Staggered Fade-in with varRevealRun, the Animated Bar Chart with varBarChartReplay and the Animated Line Chart with varChartReload.

Set(varCountRun, Coalesce(varCountRun, 0) + 1)

Good to know

  • Each picture has a run counter such as varBarRun written into it. Adding one makes it a new picture, which starts the animation again.
  • Progress Bar is timed, not measured. It always runs from 0 to 100 in the Duration (seconds) you set, and no variable holds the percentage, so it cannot stop at 40. The hidden Timer tmrProgressBar only sets varBarRunning back to false at the end, which enables the button again. Delete it and the button stays disabled after the first run.
  • Count-up Number keeps its target as a plain number (12480 after pasting) inside the Image formula of imgCountUpNumber. Replace it with any formula that returns a number.
  • Animated Toggle stores its state in varToggle: false or blank is the left option, true is the right one. To switch it from code, do what the switch does: flip varToggle and add one to varToggleCount.
  • Staggered Fade-in pastes with a demo table in the Items property of galStaggeredRows. Your own data needs the same columns: Idx (the row's position, which sets its delay), Title, Sub and Initials. Each row is one picture, imgStaggeredRow; edit its Image formula to use other column names.
  • Animated Bar Chart (up to 12 bars) and Animated Line Chart write the values from Settings into the picture as fixed text. To change them, change Settings and copy again.
  • Connect to SharePoint Data on the line chart adds a Code to Copy section with three blocks to the Settings tab. The third goes into the screen's OnVisible property and fills varMaxValue, varLinePath, varAreaPath, varCircles and varXLabels from your list. In this mode the chart is always light and blue: the color, effect, Animate and speed settings do not apply.
  • A higher Speed is faster on the bar chart and the spinner. A higher Animation Speed Multiplier on the line chart stretches every time, so it plays slower.
  • Success Check stays until you set varShowSuccess to false. With Hide again after (seconds) above 0, a hidden Timer does that for you.
  • The brand color paints the bar, the ring, the toggle pill, the spinner, the chart bars, the list avatars and the demo buttons. The success mark is green until you pick a Color, and the line chart uses its own gradient colors, blue until you change them.

Open the family in the library at Animations. Related guides: Toggles and Data Display.

Animations for Power Apps | PowerLibs