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: Operating cash in, out and net by month or quarter, as flows or a waterfall bridge, with the balance over a reserve floor
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
- Liquidity moving across pools or accounts rather than one company's operating cash: use the Liquidity Flows block
- Monthly leads this year over last year with a trend line fitted to this year only: use the Inbound Leads 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
MONTHLY(line items in $ thousands),OPENING_BALANCEandRESERVE_FLOORin data.ts; every total, balance and KPI derives from them bridgeOfin cashflow.ts builds the Waterfall from the same periods;OUTFLOW_GROUPSfolds the outflow items into 3 breakdown rowsCashflowActionsexport and copy client side only; pointdownloadCsvat your own report endpoint for server-built files- 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-21.mdget_block("chart-21")npx shadcn@latest add @reui/chart-21Shadcn Components in the Cashflow Trend Block
Dependencies
- cn
- recharts
- sonner
Shadcn Cashflow Trend Block
Cashflow composed chart with a balance panel, in and out columns, net flow dots and a waterfall. Part of the ReUI Shadcn Composed Chart blocks collection.
Operating cashflow card: a balance panel over a reserve floor above in and out columns with net flow dots, or a Waterfall from the opening; closing cash, burn and low point KPIs, a 3 row breakdown, CSV export. ReUI Frame, Badge. Finance dashboards.
It is composed from Badge, Button, Button Group, Chart, Dropdown Menu, Frame, Tooltip, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Cashflow Trend 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.
- Liquidity Flows Lending pool liquidity chart with asset-stacked supply, withdrawals below zero and a TVL lane
- Sales vs Goal Sales vs goal line chart with an attainment and YTD tooltip, quarter close marker and accent picker
- 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 Cashflow Trend block?
Use it for operating cash in, out and net by month or quarter, as flows or a waterfall bridge, with the balance over a reserve floor.
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 liquidity moving across pools or accounts rather than one company's operating cash, use the Liquidity Flows block. For monthly leads this year over last year with a trend line fitted to this year only, use the Inbound Leads 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 Cashflow Trend block built with?
Can I restyle the Cashflow Trend 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.