Collection of SolidJS utilities inspired completely by VueUse
npm install solidjs-useCollection of SolidJS utilities inspired completely by VueUse.
[![CI status][github-ci-image]][github-ci-url] [![Docs status][github-docs-image]][github-docs-url] [![NPM version][npm-image]][npm-url] [![NPM downloads][download-image]][download-url] !GitHub
[github-ci-image]: https://github.com/solidjs-use/solidjs-use/actions/workflows/ci.yml/badge.svg
[github-ci-url]: https://github.com/solidjs-use/solidjs-use/actions/workflows/ci.yml
[github-docs-image]: https://github.com/solidjs-use/solidjs-use/actions/workflows/docs.yml/badge.svg
[github-docs-url]: https://github.com/solidjs-use/solidjs-use/actions/workflows/docs.yml
[npm-image]: https://img.shields.io/npm/v/solidjs-use?style=flat-square
[npm-url]: http://npmjs.org/package/solidjs-use
[download-image]: https://img.shields.io/npm/dm/solidjs-use?style=flat-square
[download-url]: https://npmjs.org/package/solidjs-use
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
``tsx
import { useMouse } from 'solidjs-use'
const Demo = () => {
const { x, y } = useMouse()
return (
export default Demo
`
Refer to documentations for more details.
`bash``
npm i solidjs-use
- Vite + SolidJS + solidjs-use
See the Contributing Guide
This project is heavily inspired by the following awesome projects.
- vueuse
- streamich/react-use
- u3u/vue-hooks
- logaretm/vue-use-web
- kripod/react-hooks
And thanks to all the contributors on GitHub!
MIT License © 2023-PRESENT dream2023