n
nonaxial

Shake Button

Buttons

Button with shake animation

shakeattentionanimation

Installation

$
npx shadcn@latest add https://nonaxial.com/r/shake-button.json

Usage

tsx
import { ShakeButton } from "@/components/nonaxial/shake-button"

export default function Example() {
  return (
    <ShakeButton>{/* Your content here */}</ShakeButton>
  )
}

Props

PropTypeDefault
childrenReactNode
classNamestring