Entrances · data-cue="count"
Count
A number counts up to its value, keeping its format (1,204, 72.5%, +4) in tabular figures. Screen readers only hear the final value.
1,204
Markup
<span data-cue="count" data-cue-from="0">1,204</span>
Options
| Attribute | What it does | Default |
|---|---|---|
data-cue-from | The number it starts from | 0 |
data-cue-duration | Duration in ms | 1600 × the pace |
With motion off
The final value, at once. Turn motion off at the top of the page to see it.