A button that shows idle, loading spinner, success, and error states, with an optional progress bar.
npx shadcn@latest add @shadcnblocks/async-button
async-button