Shadcn.io is not affiliated with official shadcn/ui
Shake Button
Button that shakes horizontally to indicate errors or invalid actions for React.
Shake Button preview
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.
Install with AI
If you've connected the shadcn.io MCP server to Claude Code, Cursor, Windsurf, or any MCP-ready AI editor, prompt your agent to install this button for you — no copy-paste, no CLI:
use shadcnio to install the shake-button button into my projectRelated 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
FAQ
Was this page helpful?
Sign in to leave feedback.