Liquidity Heatmap

Animated liquidity bands across price and time, with a price trace and depth tooltips.

Preview

Where liquidity rests

SOL / USD · Simulated depth

14:0014:0214:0414:0614:0814:1014:1214:1414:1614:1814:2014:2214:2414:2614:2814:3014:3214:3414:3614:3814:4014:4214:4414:46
Resting liquidity · SOL02.4K+

Brighter bands hold more liquidity · White line tracks price

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @beui/liquidity-heatmap

API Reference

LiquidityHeatmap

snapshots
readonly LiquiditySnapshot[]

Time-ordered snapshots; use consistent price buckets and stable IDs.

maxSize?
number

Fixed intensity ceiling keeps colors comparable across live updates.

unit?
string
units
label?
string
Liquidity heatmap
formatPrice?
((price: number) => string)
(value: number) => value.toLocaleString("en-US", { maximumFractionDigits: 2 })
formatSize?
((size: number) => string)
(value: number) => value.toLocaleString("en-US", { notation: "compact", maximumFractionDigits: 1 })
className?
string

LiquidityHeatmapPlot

className?
string

LiquidityHeatmapLegend

className?
string

Updated