Count Up
Designcount-upCount Up is an Agent Skill for design published in the nexu-io/motion-anything repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Animate a number counting up to its target as it scrolls into view, once. Use for stat/metric blocks to draw the eye to an impressive figure. Honors prefers-reduced-motion (final value shown instantly). Avoid for precise values the user must read while animating, or many counters at once.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/nexu-io/motion-anything/blob/HEAD/recipes/web/count-up/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/count-up, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
count-up
A number that animates up to its target on enter. Part of
motion-anything; obeys MOTION-SPEC.md.
When to use it
- Stat / metric blocks; drawing the eye to one impressive figure.
When NOT to use it (restraint)
- Precise values the reader must read exactly mid-animation.
- Many counters firing at once — pick the one that matters.
How to apply
- Copy
count-up.cssandcount-up.jsand link them. - Mark numbers:
<span data-count="10000" data-count-suffix="+">0</span>(optionaldata-count-prefix="$",data-count-duration="900").
Accessibility & performance
prefers-reduced-motion: final value shown immediately. Tabular figures keep width steady.