For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: Daily, weekly or monthly supply stacked by asset over withdrawals below zero, with the TVL those flows add up to drawn in a lane above
When to use
- Bars and a line on one time axis, such as revenue and opex columns under an operating margin line
- A measure against its goal or limit, such as closed sales against a dashed goal or latency past a limit
- Cash or liquidity flowing in and out by period, over the balance those flows add up to
When not to use
- One cashflow series whose total sums the months a range picker keeps: use the Cashflow Trend block
- One tall balance line that marks only its peaks, troughs and a dated event: use the Balance Tracker block
- One volume series alone, with no goal or baseline to compare against: use the Area Chart blocks
- Two or more series drawn only as strokes across shared time buckets: use the Line Chart blocks
Agent notes
- Replace
buildYearin data.ts with real dailysuppliedandwithdrawnper asset in USD millions;balancemust keep adding each day's net toopening - Assets live in
ASSETSwith a light and darkcolorand a matchingswatch; a new one needs its key inAssetKeyand its daily values inbuildYear actions.refreshonly replays the reveal and restamps Synced;downloadCsv,copyDataandcopySummaryexport the plotted assets of the current range- Every block plots in a recharts
ComposedChartin the shadcnChartContainer; a new series is one moreBar,AreaorLinechild with adataKey
Third-party API docs
- Recharts v3: API reference, docs
- Sonner v2: API reference, docs
https://web.dev.reui.io/blocks/chart/composed-chart/chart-19.mdget_block("chart-19")npx shadcn@latest add @reui/chart-19Shadcn Components in the Liquidity Flows Block
Dependencies
- cn
- recharts
- sonner
Shadcn Liquidity Flows Block
Lending pool liquidity chart with asset-stacked supply, withdrawals below zero and a TVL lane. Part of the ReUI Shadcn Composed Chart blocks collection.
Lending pool supply stacked by asset over withdrawals below zero, with TVL in a lane above, 30D, 90D or 1Y ranges, an asset filter and a menu for layers, CSV and copy. ReUI Frame, Badge, IconTile; shadcn Chart, Dropdown Menu.
It is composed from Badge, Button, Button Group, Chart, Dropdown Menu, Frame, Icon Tile, Spinner, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Liquidity Flows Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn Composed Chart blocks to assemble a full screen instead of a single section.
All Shadcn Composed Chart Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Sales vs Goal Sales vs goal line chart with an attainment and YTD tooltip, quarter close marker and accent picker
- Cashflow Trend Cashflow composed chart with a balance panel, in and out columns, net flow dots and a waterfall
- Operating Margin Operating margin chart with revenue and opex bars, a margin lane, a target and hatched forecast
- Canary Rollback Canary latency chart with stacked baseline and regression columns, breach stats and a rollback track
Related Shadcn Charts Block Categories
- Area Chart (4) Area chart cards with gradient fills, comparisons to a prior period or baseline, hover readouts and CSV export for trends over time.
- Bar Chart (12) Bar and column charts, stacked hourly outcomes, 3D prisms, diverging lanes and lollipop stems for comparing values.
- Line Chart (6) Line chart cards with single and multi-series lines, dual axes, reference lines and metric switchers.
- Pie Chart (3) Donut cards for share of a whole, with source rows, version drill-down and period switches, plus a budget rose for spend against budget.
- Radial Chart (3) Radial cards for a value against a limit or target: concentric error budget rings, API health ring gauges and a day clock of inflows.
- Sankey Chart (3) Sankey flow charts for income statements, trial journeys and sales funnels, with hover tracing, drop-off nodes and leak markers.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the Liquidity Flows block?
Use it for daily, weekly or monthly supply stacked by asset over withdrawals below zero, with the TVL those flows add up to drawn in a lane above.
The Composed Chart category fits:
- Bars and a line on one time axis, such as revenue and opex columns under an operating margin line
- A measure against its goal or limit, such as closed sales against a dashed goal or latency past a limit
- Cash or liquidity flowing in and out by period, over the balance those flows add up to
For one cashflow series whose total sums the months a range picker keeps, use the Cashflow Trend block. For one tall balance line that marks only its peaks, troughs and a dated event, use the Balance Tracker block. For one volume series alone, with no goal or baseline to compare against, use the Area Chart blocks. For two or more series drawn only as strokes across shared time buckets, use the Line Chart blocks.
What is the Liquidity Flows block built with?
Can I restyle the Liquidity Flows block?
How should I use Shadcn composed chart blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.