A fully customizable cursor component animated with Motion for React.
Cooked by Guillaume Coussot 👨🍳
- 🚀 Easy to use
- 🔍 Auto-detects content types
- 🚫 Respects disabled attribute
- 🔠 Scales with text size
- 🎥 Animated with motion
- 🎨 Customizable
pnpm add react-dot-cursor
npm install react-dot-cursor
Add the Cursor
component to your app:
import { Cursor } from 'react-dot-cursor';
const App = () => {
return (
<div>
<Cursor />
</div>
);
};
Then remove the default cursor with CSS:
* {
cursor: none !important;
}
Find the full API reference on official documentation.