Skip to content

SpreadIndicator

stable

Bid-ask spread display with basis point calculation and severity coloring

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

Props

bidrequired
Type numberDefault —

Bid price

askrequired
Type numberDefault —

Ask price

pair
Type stringDefault —

Currency pair for context (e.g. EUR/USD)

precision
Type numberDefault 4

Rate precision for bid/ask display

breakpoints
Type ThresholdBreakpointsDefault —

Custom breakpoints for spread severity (in bps)

density
Type "default" | "compact"Default —

Display density

locale
Type stringDefault —

BCP 47 locale override

semantictypeoutcomeborder
MobileWorks As-Is
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?