Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Liquidity Heatmap

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 your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/liquidity-heatmap

Import the shared styles once in your application.

TSUsage
import LiquidityHeatmap from '@/components/beui/charts/LiquidityHeatmap.vue'
import '@/components/beui/styles.css'

API Reference

LiquidityHeatmap

snapshots
readonly LiquiditySnapshot[]

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

Default—
maxSize?
number

Fixed intensity ceiling keeps colors comparable across live updates.

Default—
unit?
string
Default—
label?
string
Default—
formatPrice?
(price: number) => string
Default—
formatSize?
(size: number) => string
Default—
labels?
Partial<LiquidityHeatmapMessages>

Override any built-in string.

Default—
class?
string
Default—
#default?
slot

Compose `LiquidityHeatmapPlot` and `LiquidityHeatmapLegend`; omit it for the complete chart.

Default—

LiquidityHeatmapPlot

class?
string
Default—

LiquidityHeatmapLegend

class?
string
Default—

Updated