A button with a scale animation on hover.
Installation
npm install framer-motion
Props
Name | Type | Default | Description |
---|
label | string | Scale | The text label displayed on the button. |
onClick | () => void | undefined | The callback to trigger when the button is clicked. |