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: A post-incident read of one rolled-back release: how much latency it added per sample over the old version, and how far past the limit
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
- Releases still moving through their stages, with live meters and Promote gates: use the Release Lanes block
- An SLO error budget spent down day by day with a forecast of when it runs out: use the Error Budget Burn 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
releaseP95in data.ts holds the measured p95 per sample, andplotRowsderives p50 and p99 from it through eachPERCENTILESratioandslopeplotRowssplits every column intobase,underandoveragainst the percentile'slimit;SEGMENT_TONESin value-faces.tsx colours all threeMOTION_STYLEraises the columns in one sweep on mount and on Replay; a percentile switch only crossfades, and reduced motion keeps a short fade- 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-37.mdget_block("chart-37")npx shadcn@latest add @reui/chart-37Shadcn Components in the Canary Rollback Block
Dependencies
- cn
- recharts
- sonner
Shadcn Canary Rollback Block
Canary latency chart with stacked baseline and regression columns, breach stats and a rollback track. Part of the ReUI Shadcn Composed Chart blocks collection.
Canary latency for a rolled-back release, one stacked column per sample: the old version's baseline, the regression and the excess past a dashed limit, under a stage track ending on the rollback. Percentile switch, layers, replay and CSV export.
It is composed from Badge, Button, Button Group, Chart, Dropdown Menu, Frame, Icon Tile, Toggle Group, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Canary Rollback 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
- 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
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 Canary Rollback block?
Use it for a post-incident read of one rolled-back release: how much latency it added per sample over the old version, and how far past the limit.
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 releases still moving through their stages, with live meters and Promote gates, use the Release Lanes block. For an SLO error budget spent down day by day with a forecast of when it runs out, use the Error Budget Burn 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 Canary Rollback block built with?
Can I restyle the Canary Rollback 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.