Metric Ticker Board

Motion

A four cell metric board where each number counts up from zero with an eased tween when it enters the viewport, with optional suffixes like plus or %.

src/registry/premium/metric-ticker-board.tsx/r/metric-ticker-board.json

Registry items

0+

Motion pieces

0

Gallery routes

0

A11y gate

0%

Metrics

Installation#

bash
npx shadcn@latest add @minidev/metric-ticker-board

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/metric-ticker-board.json

Usage#

tsx
import { MetricTickerBoard } from "@/components/ui/metric-ticker-board"

export function Example() {
  return (
    <MetricTickerBoard />
  )
}

API reference#

MetricTickerBoard props
PropTypeDefault
classNamestring-

Dependencies#

npm

motion

Built from

No other MiniDev files

Examples#

All Animated React components

Learn more