npm.io
2.3.0 • Published 2 years ago

solidjs-use

Licence
MIT
Version
2.3.0
Deps
2
Size
593 kB
Vulns
0
Weekly
0
Stars
213

SOLIDJS-USE

Collection of SolidJS utilities inspired completely by VueUse.

CI status Docs status NPM version NPM downloads GitHub

Features

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

Add ons

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

Star History Chart

Keywords