Components
Magnetic
A component that adds a magnetic effect, making any child component appear to stick to the cursor on hover.
Props
Name | Type | Description | Default |
---|---|---|---|
children | React.ReactNode | Any component can be passed as a child | - |
className | string | Add custom styles to the reveal component | "" |
width | number | Adjust the width of the magnetic parent | 10 |
height | number | Adjust the height of the magnetic parent | 10 |