Help guide

Counter Animation node

Updated June 21, 2026

Counter Animation node

Product media placeholder

Replace this area with a screenshot or short walkthrough video during the media sweep.

Interpolate a number from min to max (formatted via template, decimals, thousand separator) driven by a 0..1 progress input. Authors pick any number of output targets via `channels`: `from: "text"` writes the formatted string to any DOM string target (textContent, aria-valuetext, CSS var, title, data-*, etc.), `from: "value"` routes the raw float to any numeric CSS property (opacity, translateY, scale, rotate, width, …). One compound can show the number AND animate motion simultaneously from the same count. Compound: expands into `counter + one domPoseWrite + N domStringWrites` at load time — no runtime class.

Type counterAnimationCategory textContext sharedDynamic ports noCompound yes

Inputs

PortTypeDescription
progressfloatProgress

Outputs

PortTypeDescription
--No ports declared.

Parameters

ParameterTypeDefaultDescription
selectorelementSelector""Target Selector
minfloat0Min
maxfloat100Max
decimalsint0Decimals min 0; max 10; step 1
formatstring"{value}"Format Template
separatorstring""Thousand Separator
channelscounterChannels{"textContent":{"from":"text","propertyName":"textContent","writeMode":"textContent"}}Channels

Related nodes

Envelope

Use counterAnimation as the node type inside a graph node envelope. Add id, optional params, optional connections, and optional activeWhen based on the guide context.

Generated source

Registry faster-motion-docs/node-registry.jsonCategory page /help/faster-motion/faster-motion-node-category-text/

Was this guide helpful?

Sunny Arora

Written by

Sunny Arora

Get technical deep dives delivered to your inbox

Join creators and developers who get exclusive insights, tutorials, and behind-the-scenes content every week.

No spam. Unsubscribe anytime.

Continue Exploring

You might also enjoy