Skip to content

RatioBar

stable

Regulatory compliance ratio bar with threshold marker — visualizes LCR, NSFR, leverage ratios against minimum requirements

import { RatioBar } from "@danagraph/design-system/finance"
Loading demo…

Props

valuerequired
Type numberDefault —

Current ratio value

thresholdrequired
Type numberDefault —

Minimum requirement threshold

max
Type numberDefault —

Maximum scale value (auto-calculated if omitted)

label
Type stringDefault —

Ratio label

formatValue
Type (v: number) => stringDefault —

Custom value formatter

outcomesemantictype
MobileWorks As-Is

Ratio bar fills container width. Works at any viewport.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?