@instructure/ui-metric
TypeScript icon, indicating that this package has built-in type declarations

10.20.1 • Public • Published

category: packages

ui-metric

npm MIT License Code of Conduct

A UI component for displaying Metrics.

Components

The ui-metric package contains the following:

Installation

npm install @instructure/ui-metric

Usage

---
type: code
---
import React from 'react'
import { Metric } from '@instructure/ui-metric'

const MyMetric = () => {
  return (
    <Metric label="Grade" value="80%" />
  )
}
---
type: code
---
import React from 'react'
import { MetricGroup } from '@instructure/ui-metric'

const MyGroup = () => {
  return (
    <MetricGroup>
      <Metric label="Grade" value="80%" />
      <Metric label="Late" value="4" />
      <Metric label="Missing" value="2" />
    </MetricGroup>
  )
}

Readme

Keywords

none

Package Sidebar

Install

npm i @instructure/ui-metric

Weekly Downloads

6,371

Version

10.20.1

License

MIT

Unpacked Size

204 kB

Total Files

64

Last publish

Collaborators

  • jakeoeding
  • instuici
  • eschiebel
  • maths22
  • jcrystal
  • itadmins
  • instructure-toolsmiths-service-user
  • aogata-inst
  • kyler-instructure
  • ericsaupe
  • xcudder
  • jdewar
  • jguardadom
  • jcflow
  • jozsefg-instructure
  • jacksonhowe
  • sarahgerard
  • ajmal-esa
  • robinkuss64
  • david.wenzlick.inst
  • razorsh4rk
  • ardena
  • bpjatacsuk
  • angela.gomba
  • joyenjoyer
  • cguanzon-inst
  • herrtopi
  • matyas.szabo
  • cjs118
  • camray
  • dmz985
  • aaronshaf
  • szilard.doro-inst
  • martongreczi-inst
  • instout
  • svcquizzesnpm
  • balazs.buri.instructure
  • mstarkman
  • daniel-torok
  • fmarcso
  • peipeizhou
  • is-adamszabo