Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

statistic

v0.88.2arrow_drop_down
v0.88.2
v0.86.0
v0.85.0
v0.84.0
STATUS
Passing
DOWNLOADS
479
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
3 months ago
SIZE
73 KB
A statistic emphasizes the current value of an attribute.
1 contributor
Install statistic as a package?
Copied
npm i @bit/semantic-org.semantic-ui-react.statistic
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right

A statistic emphasizes the current value of an attribute.

A group of statistics.

StatisticLabel ()

A statistic can contain a label to help provide context for the presented value.

StatisticValue ()

A statistic can contain a numeric, icon, image, or text value.

Properties
NameTypeDescription
as
elementType

An element type to render as (string or function).

children
node

Primary content.

className
string

Additional classes.

content
custom

Shorthand for primary content.

as
elementType

An element type to render as (string or function).

children
node

Primary content.

className
string

Additional classes.

content
custom

Shorthand for primary content.

text
bool

Format the value with smaller font size to fit nicely beside number values.