Make your AI a shadcn expert

Squeeze Button

Button that squeezes narrow then springs back wider on hover for React.

Squeeze Button preview

Scroll to load preview

Squeeze it. This button compresses inward when you hover—like you're pinching it—then bounces back with elastic energy. It's tactile and playful, the digital equivalent of a stress ball. The spring physics make it feel alive, like it's pushing back against your cursor. Users hover repeatedly just to feel it squish. Perfect for playful brands, kids' apps, or any button that shouldn't take itself too seriously. The squeeze-and-release creates an oddly satisfying micro-interaction.

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 squeeze-button button into my project

FAQ

Was this page helpful?

Sign in to leave feedback.