Animated Button
Web (React)
A smooth button with hover and tap scale animations using Framer Motion.
A smooth button with hover and tap scale animations using Framer Motion. Built to provide tactile feedback and a premium feel to interactive elements.
Hover or Tap to Interact
Installation
CLI
npx @modus-ui/cli add animated-buttonManual
- Copy the code from the component tab.
- Create a file at
components/ui/animated-button.tsx. - Paste the code.
Usage
tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | - | The content inside the button. |
className | string | - | Additional CSS classes for the button. |
Comments