Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

countup

161 sites Security covered
View on drupal.org

The CountUp module provides CKEditor 5 widgets for CountUp and CountDown.

Features

CountUp

This feature integrates the CountUp.js library with CKeditor, allowing to have nice and configurable animations on pages.

It display a simple animation from the defined start number to the end number, increasing or decreasing the numbers.

CountDown

This feature is adapted from countdown-timer.

It allows to create a count down timer from the defined date to the current date. The alarm setting defines the number of seconds before the end from which the timer starts to pulse.

Requirements

The module requires the following outside of Drupal core:

This library should be installed in the Drupal "libraries" and named countup.js.
The main script should be located here: libraries/countup.js/dist/countUp.umd.js.

Composer

The composer.json file defines the asset-packagist repository.
Simply require this module and the external librairies are also installed:

composer require drupal/countup

Installation

Install the CountUp module as you would normally install a contributed Drupal module. Visit https://www.drupal.org/node/1897420 for further information.

Configuration

  1. Navigate to Administration > Extend and enable the module.
  2. Navigate to Administration > Configuration > Content Authoring > Text formats and editor > [format text to edit] to configure
  3. Drag the Countup and/or CountDown icons into the Active toolbar into the Tools group.
  4. Enable the countup filter in the filter list. It should run after the filters which limit the allowed HTML tags.
  5. Save configuration.
  6. Now when using the CKEditor, select the CountUp ot CountDown icon and edit the animation.

Widgets settings

Widget source code

Available attributes for CountUp:
<countup class start end decimal-places duration use-easing smart-easing-threshold smart-easing-amount use-grouping separator decimal prefix suffix>

Available attributes for CountDown:
<countdown-timer class date date-timezone alarm labels>

Note: the labels attribute is overridden by the text filter, so it should not be used when editing the source.

CKeditor4 (deprecated)

This branch is not compatible with CKeditor5. Work is currently in progress in the 3.x branch.

Branch 8.x-1.x

This branch is deprecated. Please use the 3.x branch.

There is a dependency with the library Scrollama.

Branch 8.x-2.x

This branch is deprecated. Please use the 3.x branch.

The only dependency is the countUp.js library.
There is no backward compatibility with the 8.x-1.x branch. The module has been almost rewritten, and the countUp.js library also changed some setting names.

Activity

Total releases
2
First release
Feb 2026
Latest release
2 months ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
3.1.0 Stable Feb 16, 2026
3.1.x-dev Dev Feb 16, 2026