TrendBadge
stableDirectional trend indicator with semantic coloring — shows up/down/flat movement with optional percentage value
import { TrendBadge } from "@nodus/design-system/finance"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
directionreq | 'up' | 'down' | 'flat' | — | Trend direction |
value | number | — | Change percentage |
showIcon | boolean | — | Show directional arrow icon |
formatValue | (v: number) => string | — | Custom value formatter |
directionrequiredType
'up' | 'down' | 'flat'Default —Trend direction
valueType
numberDefault —Change percentage
showIconType
booleanDefault —Show directional arrow icon
formatValueType
(v: number) => stringDefault —Custom value formatter
MobileWorks As-Is
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?