Decline Chart

HTML to video · A number or a chart · Apache-2.0

What it does

A metric line draws downward as its value counts down and the ambient background darkens in lockstep.

Get it

Copy it, or npx hyperframes add decline-chart, to compositions/components/decline-chart.html and mount it as a sub-composition; it brings its own timeline. 3 settings to change.

Source on GitHub
Needs

Loads its libraries from the network when it renders (cdn.jsdelivr.net).

Re-skin

By props (colors, type, text, numbers)

Declared variables: label, start_value, end_value. Colors and type come from theme custom properties with fallbacks (--fg, --font-body, --font-display), so a :root block or one of the three themes re-skins it.

License

Apache-2.0

License notes are on the pack's page

From

HyperFrames

Everything from HyperFrames in the gallery

Back to the Asset Library