素材包6 个组件1 个技能
Data motion
@moga/data-motion · 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-motion版本 1.0.0MIT35 次下载0 人收藏
更新于 2026年12月3日
在 MOGA 里用
在 MOGA 素材库的「在线」里搜索它,或在项目文件夹里运行:
npx -y moga hub-import @moga/data-motion包含的内容
- 组件Bar 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).
- 组件Count 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).
- 组件Dumbbell 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).
- 组件Line 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).
- 组件Ring 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).
- 组件Unit 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).
- 技能data-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.

