Launch sale — 60% off Pro
Contact
SpinnerButton

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React Spinner - Loading Small Button

A React small button showing loading state with size-3 spinner and Please Wait text using disabled and size sm props

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Sometimes interfaces are cramped—tables, toolbars, cards—and standard buttons feel too large. This React small button shows size-3 Spinner with Please Wait text in compact sizing. Built with shadcn/ui Button size sm and sized Spinner, the reduced padding and smaller spinner fit tight spaces—perfect for table row actions, compact toolbars, inline operations, card actions, dense UIs, or any loading button where vertical space is limited and standard button size would overwhelm the layout.

Pattern created by @haydenbleasel

Installation

Questions you might have