DeltaBar
Compare percentage increases and decreases on a bar centered at zero.
Basic usage
Negative changes extend left and positive changes extend right. The bar spans −100% to +100%, and the label retains the full value.
Compared with last month
API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
label | string | — |
value | number | — |
description | string | — |
isPositiveGood | boolean | true |
valueFormat | (value: number) => string | — |