← ui-lab

Busy Button

A pending action button. While the action is in flight the button sets aria-busy and aria-disabled (staying focusable but ignoring clicks) and announces progress in a role="status" region, resolving to a done state once it completes.

Preview

Installation

npx shadcn@latest add https://ui.publictheta.com/r/busy-button.json

Conformance

This component conforms to the @publictheta/ui-spec busy-button specification. Run the suite against any implementation with pnpm conformance.