Skip to content
caliper ui pro docs

Volume profile

Traded volume by price level, with the value area and last price marked.

Pro
Volume by priceBuySell

Most traded at 103.00. 71% of volume between 98.00 and 103.00.

Volume by price
PriceBuySellTotal
104.00462975
103.006951120
102.00522880
101.00355085
100.00582785
99.00414990
98.00642690
97.00474895
96.00302555

When to use

  • Showing where trading concentrated.
  • Next to a price chart.

When not to use

  • There is no price dimension.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/volume-profile

Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

VolumeProfile

9 props
PropTypeDefaultDescription
label *string—
data *readonly VolumeBin[]—
currentnumber—Last traded price, marked on the nearest level.
areaSharenumber0.7
formatPrice((price: number) => string)(price) => price.toFixed(2)
formatVolume((volume: number) => string)numberText
loadingboolean—
errorstring—
classNamestring—

valueArea

0 props

No props of its own; it accepts the native props of its root element.

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes group and status semantics, with aria-label, aria-busy and aria-hidden kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/volume-profile.md

The index of every part is at /llms.txt.

More in Market charts