Animated CTA Buttons Slide Action Button
- from @karaui
- by kara <ztzyrant@gmail.com>
A thumb you drag along a track: past the threshold it locks in and calls onComplete, short of it the thumb springs home. Enter or Space completes it from the keyboard, and it resets after resetDelay.
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 @karaui/slide-action-buttonLive preview
No live preview has been built for this component yet.
Registry dependencies0
The CLI adds no other registry items with this one.
