Skip to content

Latest commit

 

History

History
73 lines (55 loc) · 2.67 KB

README.md

File metadata and controls

73 lines (55 loc) · 2.67 KB

🪝 Hooks

Version Downloads Github Actions Make a PR Typescript Formatted with Biome

A collection of reusable react hooks for state and UI management

Installation

# Using PNPM
pnpm install @codiume/hooks
# Using Bun
bun add @codiume/hooks
# Using NPM
npm install @codiume/hooks
# Using Yarn
yarn add @codiume/hooks

Hooks

Hook Description
use-clipboard Copy text to the clipboard with ease
use-hover Tracks the hover state of a DOM element
use-in-viewport Detects if element is visible in the viewport
use-local-storage Manages state with localStorage synchronization
use-media-query Track if a media query matches the viewport
use-queue Manage state of elements in FIFO-like strategy
use-scroll Tracks scroll position of an element
use-singleton Creates a value exactly once
use-window-scroll Tracks scroll position of the window

Contributing

Please see Contributing.md for details.

Security

If you discover any security related issues, please email author instead of using the issue tracker.

Changelog

Please see the Changelog for more information on what has changed recently.

License

Please see the LICENSE for more information.