observable-framework-input-button
Installation
SKILL.md
Input: Button
Observable Framework documentation: Input: Button Source: https://observablehq.com/framework/input-button
API · Source · The button input 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 that progressively hides a bar. Clicking the button will restart the animation.
const replay = view(Inputs.button("Replay"));
The code block below references replay, so it will run automatically whenever the replay button is clicked.