Button Spring Press
- from @hyperblur
A keycap button driven by a real spring: it squashes into its base while pressed, sinks deeper the longer you hold, and rebounds past rest with a wobble on release. Works with pointer, Space and Enter.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @hyperblur/button-spring-pressComponent source
No live preview has been built for this component yet.
Registry dependencies0
The CLI adds no other registry items with this one.
Packages0
No npm packages are installed with it.
