Shadcn.io is not affiliated with official shadcn/ui
Shake Button
Button that shakes horizontally to indicate errors or invalid actions for React.
The universal "nope" signal. Trigger the shake and the button vibrates side-to-side like a head shake—instantly communicating that something's wrong. It's the same feedback pattern your phone uses for wrong passwords. No need for error toasts or red text, the shake says it all. Perfect for form validation, auth failures, or any blocked action. Brief, clear, unmistakable.
Shake Button preview
Loading...
Scroll to load preview
Installation
Install
Pro button
Related Components
Success Button
Checkmark animation
Loading Button
Built-in spinner
Bounce Button
Elastic click bounce
Pulse Button
Pulsing attention ring
Elastic Button
Rubber band stretch
Squeeze Button
Compress and spring