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: One cashflow line over a soft area whose total sums the months a 6 month, 12 month or 2 year Select keeps, labeled by date range
When to use
- A primary series as a filled area with a goal, baseline or forecast traced as lines on the same axis
- Release health against a baseline, with limit lines and a marker where a rollback happened
When not to use
- Shopping funnel stages stacked as areas, with tiles reading each stage's latest point: use the Conversion Funnel block
- A call operations page that rebuckets one line hourly, daily or weekly per metric: use the Voice Agent Calls 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
getFilteredDatareturns all 12cashflowDatarows for both 12m and 2y, so only thedateRangelabel changes- Replace
cashflowDataand thedateRangestrings inPERIODS; the 12.5% trend besidetotalCashis a fixed literal CustomTooltiphardcodes the violet swatch and Cashflow label rather than readingchartConfig- Areas and lines share one
ComposedChart, so a new series goes in as anAreaor aLinechild with its owndataKey
https://reui.io/blocks/chart/composed-chart/chart-21.mdget_block("chart-21")npx shadcn@latest add @reui/chart-21Shadcn Cashflow Trend Block
Cashflow area and line chart card with period range selector and total plus percentage trend. Part of the ReUI Shadcn Composed Chart blocks collection.
Cashflow chart card pairing a gradient Area with a dotted Line, a 6m/12m/2y range Select, a total with a green percentage trend, and a custom tooltip. Built with ReUI Frame, shadcn Select and ChartContainer. For finance and analytics dashboards.
It is composed from Frame, Select, 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.
- DeFi Overview Dark finance metric card with composed area-and-line chart and day, week, month period tabs
- Sales vs Goal Sales vs goals composed line and area chart with vertical reference line marker
- Canary Analysis Live canary health panel with release against baseline error rate and latency charts
- Canary Rollback Canary latency chart with a p95 limit breach and rollback marker for a rolled-back release
Related Shadcn Charts Block Categories
- Area Chart (3) Area chart cards with gradient fills, stacked series, period tabs and hover tooltips for trends over time.
- Bar Chart (14) Bar and column charts, grouped and stacked bars, lollipop stems and segmented bar meters for comparing values.
- Line Chart (6) Line chart cards with single and multi-series lines, dual axes, reference lines and metric switchers.
- Pie Chart (2) Pie and donut chart cards with center totals, per-segment legends and period tabs for share of a whole.
- Radial Chart (3) Radial gauges with semicircle and full arcs, segmented rings and status labels for progress toward a target.
- Sparkline (11) KPI tiles and metric lists where each value pairs with a small line, area or bar sparkline and a delta.
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 (301) Browse 301 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (42) Browse 42 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (47) Browse 47 Shadcn Charts blocks across 8 categories.
- Shadcn Solutions Blocks (74) Browse 74 Shadcn Solutions blocks across 10 categories.
- Shadcn AI & Agents Blocks (18) Browse 18 Shadcn AI & Agents blocks across 2 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 one cashflow line over a soft area whose total sums the months a 6 month, 12 month or 2 year Select keeps, labeled by date range.
The Composed Chart category fits:
- A primary series as a filled area with a goal, baseline or forecast traced as lines on the same axis
- Release health against a baseline, with limit lines and a marker where a rollback happened
For shopping funnel stages stacked as areas, with tiles reading each stage's latest point, use the Conversion Funnel block. For a call operations page that rebuckets one line hourly, daily or weekly per metric, use the Voice Agent Calls 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.