0.2.4 โข Published 6 months ago
react-dot-cursor v0.2.4
Features
- ๐ Easy to use
- ๐ Auto-detects content types
- ๐ซ Respects disabled attribute
- ๐ Scales with text size
- ๐ฅ Animated with motion
- ๐จ Customizable
Installation
With pnpm
pnpm add react-dot-cursor
With NPM
npm install react-dot-cursor
Getting Started
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;
}
Documentation
Find the full API reference on official documentation.