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

statistic

v0.86.0arrow_drop_down
v0.86.0
v0.85.0
v0.84.0
STATUS
Passing
DOWNLOADS
380
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 months ago
SIZE
72 KB
subject
A statistic emphasizes the current value of an attribute.
1 contributor
Use statistic in your project ?
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
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';
revert changes
reload
toggle layout
maximize
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
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
custom

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

children
node

Primary content.

className
string

Additional classes.

content
custom

Shorthand for primary content.

as
custom

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.