You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A high-performance React component that creates an elegant, interactive gradient effect that follows cursor movement. Perfect for creating engaging hover states and modern UI elements.
3
+
A lightweight React hook that creates a smooth, customizable animated cursor element that follows your mouse movement. Perfect for creating modern, interactive user experiences with custom cursor effects.
React Gradient Hover enhances your UI with smooth, performant gradient animations that respond to user interaction. The component creates a dynamic spotlight effect that follows the cursor, providing a modern and engaging user experience.
10
+
React Use Cursor Follow provides a performant way to create custom cursor effects that smoothly follow mouse movement. The hook creates a floating element that trails behind your cursor with customizable easing, size, color, and behavior options.
12
11
13
12
### Key Features
14
13
15
-
-🎨 Fluid gradient animations using requestAnimationFrame
16
-
-🌈 Support for multiple gradient colors (minimum of 2)
17
-
- ⚡ Optimized performance with debounced event handling
18
-
-🎯 Customizable animation speed and transition duration
19
-
-📱 Responsive design with automatic resizing
14
+
-🎯 Smooth cursor following with customizable easing
3. Verify the package works as expected in your test project
@@ -198,24 +257,6 @@ Before publishing to npm, it's recommended to test the package locally:
198
257
git push && git push --tags
199
258
```
200
259
201
-
#### Troubleshooting
202
-
203
-
If publishing fails:
204
-
205
-
- Ensure you're logged in: `npm whoami`
206
-
- Verify you have publish permissions: `npm access ls-packages`
207
-
- Check that the package name is available: `npm view react-gradient-hover`
208
-
209
-
For build errors:
210
-
211
-
- Verify all dependencies are installed
212
-
- Check TypeScript and Rollup configurations
213
-
- Review the build logs for specific errors
214
-
215
-
## Contributing
216
-
217
-
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
0 commit comments