@ks-web-components/ks-kpi
v1.0.1
Published
The key progress indicator components receives a st of optional attributes so it can display multiple data in beauty and concise way.
Downloads
20
Readme
ks-kpi
The key progress indicator components receives a st of optional attributes so it can display multiple data in beauty and concise way.
Usage
npm install @ks-web-components/ks-kpi
Live Example
Attributes
| Property | Attribute | Type | Default | Description | | ------------ | ------------- | ------ | ----------------- | ----------------------- | | value | value | string | '$1.000' | Main value of the KPI | | subtitle | subtitle | string | 'Total shipments' | Sub title on the bottom | | change | change | string | 0 | | | relativeTime | relative-time | string | 'since last week' | | | icon | icon | string | 'truck' | Top corner icon |