Pop it
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-pop-itAbout this component
A silicone pop-it strip: every press inverts the next bubble with a pop and a squish of the strip, and when all five are through it flips over, the bubbles come back out and you start again.
- Dependencies
- None
- Difficulty
- Beginner
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- Click
- State change
- 3D
Techniques3
- Keyframes
- Radial gradient
- 3D transform
Accessibility
Keyboard and screen readers
A native button whose label counts the bubbles down and says when the next press flips the strip.
Reduced motion
The bubbles invert and the strip flips without animation.
Use it in anything you build, commercial and client work included. Licence