solidjs-use
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

SOLIDJS-USE

Collection of SolidJS utilities inspired completely by VueUse.

CI status Docs status NPM version NPM downloads GitHub

DocsPlaygroundDemo

🚀 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

Package Sidebar

Install

npm i solidjs-use

Weekly Downloads

1,354

Version

2.3.0

License

MIT

Unpacked Size

608 kB

Total Files

150

Last publish

Collaborators

  • dream2023