Button (Motion)
- from @dashral
Button with motion: it presses in on a spring, a new label crosses over while the button glides to its new width, and loading pops the spinner in.
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 @dashral/motion-buttonLive preview
No live preview has been built for this component yet.
