Vvcare/ui
Documentation menu

Components

Charts and metrics

Metric Value

A number that abbreviates large values and animates when it changes.

Installation

npx shadcn@latest add @vcare/metric-value

Or install directly from the URL: https://ui.vcarehms.com/r/metric-value.json

Usage

import { DEFAULT_COMPACT_FROM, MetricValue } from "@/components/ui/metric-value"

Exports

DEFAULT_COMPACT_FROM, MetricValue

Dependencies

  • @vcare/format (registry)
  • @vcare/tooltip (registry)
  • @vcare/utils (registry)

Raw item: /r/metric-value.json