Blast Radius
betaWhat an action will change before it runs — how many things, how, which can't be undone, and a sample by name.
- AI
- 1 file
- No extra npm packages
- Accessibility notes
pnpm dlx @dowel-ui/cli add blast-radiusNo npm packages are needed beyond what Dowel already requires.
import { BlastRadius } from "@/components/ui/blast-radius";Default
In An Approval
All Permanent
Loading
Failed
Nothing Changes
<BlastRadius>
| Prop | Type | Default |
|---|---|---|
data | BlastRadiusData | — |
errorWhy the dry run could not say. The decision can still be made without it. | string | — |
heading | string | "What this will change" |
limitHow many changes to list by name before "and N more". | number | 5 |
loadingWhile the dry run is still working. | boolean | false |
nounWhat the things are called: | BlastRadiusNoun | { one: "record", other: "records" } |
reversibilityHow reversible a change is when it does not say. Usually the action's own. | BlastRadiusReversibility | "revertible" |
Plus every attribute of <section> except children.
7/7
checks passed
- Tested — passes
- axe assertion — passes
- Keyboard tested — does not apply
- Storybook examples — passes
- Accessibility documented — passes
- Semantic tokens only — passes
- Motion from tokens — does not apply
- className merged — passes
- Visible focus — does not apply
- No fixed widths — passes