diff --git a/docs/inputs/button.md b/docs/inputs/button.md
index cc93a94c6..785456122 100644
--- a/docs/inputs/button.md
+++ b/docs/inputs/button.md
@@ -2,27 +2,39 @@
A Button emits an *input* event when you click it. Buttons may be used to trigger the evaluation of cells, say to restart an animation.
-For example, below is an animation (using [yield](../javascript/generators)) that progressively hides a bar. The progress
cell references replay
, so it will run automatically whenever the replay button is clicked. If you click the button while the animation is still running, the animation will be interrupted and restart from the beginning.
+For example, below is an animation (using [yield](../javascript/generators)) that progressively hides a bar.
+
+```js echo
+import * as Inputs from "npm:@observablehq/inputs";
+```
+
+```js echo
+const width = 360;
+const height = 20;
+const style = "max-width: 100%; border: solid 1px black;";
+```
+
+```html
+