Skip to content

MiniBar

stable

Inline proportional bar for ratio visualization in table cells

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

Props

valuerequired
Type numberDefault —

Current value

max
Type numberDefault 100

Maximum value

width
Type stringDefault "80px"

Width of the bar track

showLabel
Type booleanDefault —

Show percentage label after the bar

severityColored
Type booleanDefault —

Color the bar by severity thresholds

breakpoints
Type ThresholdBreakpointsDefault —

Custom severity breakpoints for the ratio

color
Type stringDefault —

Fixed bar color (overrides severity)

label
Type stringDefault —

Accessible label

semanticoutcome
MobileWorks As-Is
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?