Kindly EditDocumentationTry the editor

Counter

A number that counts up when it scrolls into view, with a label.

Watch the video

Chapters and transcript Captions are included.

Use this element#

Set the starting value, final number, optional prefix and suffix, and animation duration. Edit its descriptive label directly on the page.

The number counts when it comes into view. The animation is presentation; Kindly does not verify or collect the statistic. Supply an accurate value and a label that explains what is being counted.

Availability#

Available through the appropriate content or section picker when the theme and editing context allow it.

Content controls#

These are the controls registered for this element. A control that depends on another setting or the surrounding layout appears only when it applies.

Count from#

Input type: number. Enter the desired value, then check the page result.

Step: any.

Final number#

Input type: text. Enter the desired value, then check the page result.

Before the number#

Input type: text. Enter the desired value, then check the page result.

After the number#

Input type: text. Enter the desired value, then check the page result.

Counting time in milliseconds#

Input type: number. Enter the desired value, then check the page result.

Min: 200; Max: 10000; Step: 100.

Style controls#

In Developer mode, Style starts with this element's own group, Counter, open above the shared Style groups (available in 0.9.15 and later):

Control Value
Number size Size in px, rem or em
Number color Color
Label color Color

Each works like the rest of the inspector: it starts by showing the element's current look, Reset brings the theme's value back, and each change is one Undo step. Like other Style settings, a value can differ by screen size and state (Normal, Hover, Focus).

Save and check#

  1. Change one setting and inspect the affected element.
  2. Use Undo and Redo to check the edit is reversible.
  3. Save a draft, reopen it, and confirm the content and choices remain.
  4. Inspect the page at desktop and phone widths.
  5. Publish only when the result is ready. For interactive elements, check the visitor view because editing mode can suppress interaction.

How it is stored#

The block comes from blocks/350-counter.html. Its editable content is HTML in the page or owning template. Native settings update words, attributes, classes, or supported style properties. Generated interface controls are not saved into that HTML.

The settings registry matches .cb-counter in assets/element-settings.js. Public behavior, when needed, is implemented by the native element runtime in assets/elements.js or assets/blocks.js.

About this page

Documents Kindly Edit 0.9.16. Source: blocks/350-counter.html, assets/element-settings.js, assets/elements.js. Theme choices and account permissions can change which controls appear.

Type a word or phrase to search the full documentation.