Docs • Playground • Demo
- 🎛 Feature Rich: 300+ functions for you to choose from
- 🎪 Interactive docs & demos
- ⚡ Fully tree shakeable: Only take what you want, bundle size
- 🦾 Type Strong: Written in TypeScript, with TS Docs
- 🔩 Flexible: Configurable event filters and targets
import { useMouse } from 'solidjs-use'
const Demo = () => {
const { x, y } = useMouse()
return (
<h1>
{x()} x {y()}
</h1>
)
}
export default Demo
Refer to documentations for more details.
npm i solidjs-use
See the Contributing Guide
This project is heavily inspired by the following awesome projects.
And thanks to all the contributors on GitHub!
MIT License © 2023-PRESENT dream2023