Bundle6 Komponenten1 Skills
Data motion
@moga/data-motion · Offiziell von MOGA
Numbers and charts that move: bars growing one after another, a line drawing itself with a marker reading its tip, a ring filling to a share, a number whose digits spin like slot reels, a before-and-after dumbbell, and a waffle of cells filling in. Each counts to its value as the mark that carries it lands, in the scheme's own colours, with the guide that teaches an agent to pick the chart and time it.
npx -y moga hub-import @moga/data-motionVersion 1.0.0MIT35 Downloads0 Favoriten
Aktualisiert am 3. Dezember 2026
In MOGA verwenden
Such es in der MOGA-Bibliothek unter „Online“ oder führe das im Projektordner aus:
npx -y moga hub-import @moga/data-motionInhalt
- KomponenteBar chartBars that grow one after another, each value counting up as it rides the end of its bar; rows for rankings and long labels, columns for a few periods. One bar can be highlighted while the rest step back. Give it the chart's own box (about 1400 × 760).
- KomponenteCount upOne big number that lands on its value: each digit spins like a slot reel and settles left to right (or counts on a long decelerating curve), with a prefix, a suffix and a label; plain on the frame or on a tile with a filling bar. Give it its own box (about 1200 × 600 plain, 640 × 560 as a tile).
- KomponenteDumbbell chartBefore and after, row by row: the earlier value lands as a hollow dot, a bar stretches to the later one with a filled dot riding its head and the value counting beside it, and the change lands in a chip at the row's end; a legend names the two moments. Give it the chart's own box (about 1400 × 760).
- KomponenteLine chartA line that draws itself left to right with a soft area under it, a marker riding its tip that reads the value under it and settles on the last one; gridlines first, each period's label as the line reaches it. Give it the chart's own box (about 1400 × 760).
- KomponenteRing statA ring that fills to a share while the number in its middle counts with it, its label under it. Give it a square-ish box (about 640 × 760 with a label).
- KomponenteUnit gridA share shown as cells (a waffle chart): the empty grid ripples in, then the filled cells pop in one after another in reading order while the big number beside it counts with them. Reads as "73 in every 100". Give it its own box (about 1400 × 640, or 700 × 900 to stack the number under the grid).
- Skilldata-motionNumbers and charts that move. Read before showing a number, a share, a ranking, a trend or a before-and-after in a video; place a data motion component (bar-chart, line-chart, ring-stat, count-up, dumbbell-chart, unit-grid) instead of drawing bars, lines or counters from shapes.

