Secondary async button that shows an error state with X icon after failure.
npx shadcn@latest add @shadcnblocks/button-button-async-2
Sign in or get a license at Shadcn Blocks to see its source and install it.