A motion-enabled download button with hover animations.
Download
Dependencies
framer-motion, react-icons
Installation
npm install framer-motion react-icons
Props
Name | Type | Default | Description |
---|---|---|---|
label | string | Download | The text label displayed on the button |
onClick | () => void | undefined | The callback to trigger when the button is clicked |