Every button, side by side. Press them: most of the point is in what happens next.
import { LoadingButton } from "@/components/loading-button";
<LoadingButton
label="Check for new grants"
pendingLabel="Working…"
successLabel="Done"
errorLabel="That did not work. Try again."
onAction={checkForGrants}
/>