StatCard


StatCard component is used to display statistical information. It can be used to show key metrics, performance indicators, and other data points.

To use the StatCard component, you need to import it from the ez-dashboard package.

import { StatCard } from 'ez-dashboard';

Usage


import { StatCard } from 'ez-dashboard'; const Dashbaord = () => { return ( <StatCard value="100" description={'card description'} label={'name'} color='primary'/> )} export default Dashboard;
statcard image

Props


The StatCard component has the following props:
* value
* description
* label
* color