Stablecoin peg health from the SIGNED bps deviation -- tone by magnitude, sign kept visible.
Anatomy
( on peg +4bps ) buy tint, |bps| < 25 ( drifting −38bps ) warning, 25 <= |bps| < 200 ( depegged −230bps ) sell tint, |bps| >= 200
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
deviationBps | number | -- | SIGNED deviation (+ above / − below peg). |
className | string | -- | cn-merged. |
Motion
None (peg state is data).
A11y
- · State word + signed figure are real text -- health is never color alone.
- · Guideline #5 encoded: magnitude drives tone (Math.abs), the sign stays in the readout.