# Error Budget Burn block

> Error budget burn-down with daily lollipop stems, an SLO picker and a budget ribbon

SLO error budget burn-down as daily Recharts lollipops that hang below 0% once overspent, with a forecast tail and drag to sum spend. A Select picks the SLO; a ribbon reads budget, attained, burn, pace and runs out. ReUI Frame, Badge. SRE dashboards.

- Type: Pro block
- Category: [Bar Chart](https://reui.io/blocks/chart/bar-chart.md)
- Page: https://reui.io/blocks/chart/bar-chart/chart-42
- MCP: `get_block("chart-42")`
- Built with: Badge, Button, Frame, Icon Tile, Select
- Installs with a ReUI Pro or Ultimate license; setup: https://reui.io/docs/license-setup

## Best for

One SLO's error budget burn down as daily lollipops below 0% once overspent, a forecast tail, drag to sum spend and an SLO Select

## Agent notes

- Replace `SLOS` in data.ts; `generateSeries` seeds every record's `days` from its `id`, so each stem is synthetic until you pass real counts
- The Deploys Frozen `Badge` appears once the budget is spent but freezes nothing; wire it to your deploy gate
- `triageOrder` lists exhausted SLOs first and `sloId` opens on the worst one; seed it from your route to open another

## When not to use

- Burn rates across 5 windows from 5m to 3d, with alert rule states and a guarded mute: use [SLO Burn Rate](https://reui.io/blocks/chart/bar-chart/chart-43.md) (`get_block("chart-43")`)
- The same burn down inside a full console with an objectives grid and a detail sheet: use [SLO Error Budgets](https://reui.io/blocks/solutions/dev-ops/solution-dev-ops-5.md) (`get_block("solution-dev-ops-5")`)

## Install

```bash
npx shadcn@latest add @reui/chart-42
```

## About Bar Chart blocks

### When to use

- Values compared across hours, days or categories as grouped, stacked or hatched columns
- Run durations or event volumes against a timeout or limit line, with outcome toggles
- Segmented meters that split a capacity, a fund or a heart rate zone into colored slices

### When not to use

- A share of a whole where the slices read better around a ring: use the [Pie Chart blocks](https://reui.io/blocks/chart/pie-chart.md)
- A progress reading shown as an arc gauge with a status label: use the [Radial Chart blocks](https://reui.io/blocks/chart/radial-chart.md)
- Rows of jobs or deploys, each with its own run history strip: use the [Status Tracker blocks](https://reui.io/blocks/chart/status-tracker.md)

### Agent notes

- `Chart` renders with no props, so every bar, meter value and limit comes from constants kept in the block folder

Every ReUI item has a twin like this one; the index is https://reui.io/llms.txt. Agents with the ReUI MCP (https://reui.io/docs/mcp) get the same guidance from the getters named above.
