Skip to content

Basic Counter

Animated counter interpolating between numbers..

Theme an embed without editing the bit: put data-variable-values on the data-composition-src element, or bake new defaults into the installed copy with --set.

IdTypeDefaultLabel
prefixstring"width: "Prefix
postfixstring"px"Postfix
colorcolor#fcc192Text color
backgroundcolor#100f0fBackground
<div data-composition-src="compositions/basic-counter.html" data-variable-values='{"prefix":"width: ","postfix":"px","color":"#fcc192","background":"#100f0f"}'></div>
Terminal window
npx @av/hyperbits add basic-counter --into compositions/ --set "background=#0b1020"