Docs
Framer Button 1
Framer Button 1
A sleek, animated button using Framer Motion for smooth hover and tap effects.
Installation
Install the following dependencies:
npm install framer-motion clsx tailwind-merge
Add the utils.ts file to the @/lib folder
Create a framer-button-1.tsx file and copy the below code.
Update the import paths to match your project setup.
Usage
import FramerButton1 from "@/components/breezeblocks/framer-button-1";
<FramerButton1>Get Started</FramerButton1>
Props
Prop | Type | Description | Default |
---|---|---|---|
children | React.ReactNode | The content inside the button | (required) |
className | string | Additional custom classes for styling | - |
...props | HTMLButtonProps | Any other button props | - |