solidjs-use
v2.3.0
Published
Collection of SolidJS utilities inspired completely by VueUse
Downloads
8,697
Maintainers
Readme
Collection of SolidJS utilities inspired completely by VueUse.
Docs • Playground • Demo
🚀 Features
- 🎛 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
🦄 Usage
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.
📦 Install
npm i solidjs-use
Demo
🧱 Contribute
See the Contributing Guide
🌸 Thanks
This project is heavily inspired by the following awesome projects.
And thanks to all the contributors on GitHub!
📄 License
MIT License © 2023-PRESENT dream2023