Submit button that runs one request at a time, ignores repeat clicks, Enter spam and double-taps, and hands your onSubmit an idempotency key that is reused on retry after a network error or 408/429/5xx so the server can dedupe.
npx shadcn@latest add @bollard/safe-submitsafe-submit