Description
ngx-countup is an Angular directive that animates a number by counting up to a target value. It wraps the core of CountUp.js, which the same author maintains in a separate repository. You add the directive to any element, set the countUp input to the number, and pass countUpOptions for finer control. Setting autoAnimate starts the count when the element scrolls into view. The directive re-animates on click by default, and that can be turned off. A complete output emits when the animation finishes. To restart the count from code, add a template reference variable, select it with ViewChild and call the animate function after the view initializes. The README says the directive is safe for server-side rendering. A compatibility table shows which package release matches each Angular range, and from Angular 21 the options input is named countUpOptions, while earlier releases use options. The package is released under the MIT License. It suits Angular sites that show statistics, totals or counters.…
Highlights
- Count-up number directive
- Auto animate when scrolled into view
- Re-animate on click or from code
- Complete output event
- Safe for server-side rendering
Ratings & Reviews
No ratings yet
Be the first to rate ngx-countUp.
People also visit
ngx-countUp FAQ
What is ngx-countup?
An Angular directive that counts a number up to a target value, using the CountUp.js core.
Which version do I need?
The README table lists 21 for Angular 21 and newer, 13.2.0 for Angular 13 to 20, and 7.3.3 for Angular 7 to 12.
Is it safe for server-side rendering?
The README says yes.
What license is it under?
The README says MIT License.
What are the best ngx-countUp alternatives?
Popular alternatives to ngx-countUp include ngx-progressbar, angular-animations-explorer and ngx-skeleton-loader. See all ngx-countUp alternatives

















