Skip to content

OrderBookRow

stable

Single order book price level row with cumulative depth bar — presentational <tr> sub-component rendered inside OrderBook

import { OrderBookRow } from "@nodus/design-system/finance"
Loading demo…

Props

pricerequired
Type numberDefault

Price level

quantityrequired
Type numberDefault

Quantity at this level

cumulative
Type numberDefault

Cumulative quantity — drives the depth bar width

siderequired
Type 'bid' | 'ask'Default

Book side — drives color and alignment

maxCumulativerequired
Type numberDefault

Max cumulative for depth bar scaling

precision
Type numberDefault 4

Rate decimal precision

locale
Type stringDefault en-US

BCP 47 locale

style
Type CSSPropertiesDefault

Style override

Accessibility

  • Renders a native <tr> — must be placed inside a <table><tbody> (normally via OrderBook) for correct table semantics.
  • Bid/ask side is encoded by both color and cell alignment; the depth bar is a low-opacity background that does not carry text.
  • Prices and quantities use tabular-nums monospace.
bidasksemantictypeoutcomefin
MobileStacks / Scroll

Row of OrderBook — the parent book activates horizontal scroll on narrow viewports.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?