Skip to content

DepthChartGL

stable

GPU-accelerated order book depth visualization. Bid (temporal blue) and ask (agency red) cumulative depth curves as filled triangle-strip areas with smooth line borders. Animates live via rAF.

FinanceInteractive/Storybook ↗
import { DepthChartGL } from "@nodus/design-system/finance"
Loading demo…

Props

bidsrequired
Type DepthLevel[]Default

Cumulative bid levels (price, size)

asksrequired
Type DepthLevel[]Default

Cumulative ask levels (price, size)

midPrice
Type numberDefault

Mid-price label override

height
Type numberDefault

Chart height in px (default 200)

onHover
Type (price: number | null) => voidDefault

Callback with hovered price

Metadatasemantictemporalagency
MobileStacks / Scroll

Depth chart requires min 280px for bid/ask labels. On mobile, consider reducing the price range shown.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?